Displaying 20 results from an estimated 200 matches similar to: "Restoring blob fileds in Mysql"
2015 Nov 30
2
SOT: MariaDB 5.5.x-MariaDB logs are not going to desired .log file
Hi there, I know this is off-topic or semi off-topic but I really need some
help since I am stucked.
I'm trying to redirect MariaDB logs to `/var/log/mysql/*.log` files as
shown below on the `/etc/my.cnf.d/server.cnf` file:
#
# These groups are read by MariaDB server.
# Use it for options that only the server (but not clients) should see
#
# See the examples of server
2009 Apr 15
3
MySQL On ZFS Performance(fsync) Problem?
Hi,all
I did some test about MySQL''s Insert performance on ZFS, and met a big
performance problem,*i''m not sure what''s the point*.
Environment
2 Intel X5560 (8 core), 12GB RAM, 7 slc SSD(Intel).
A Java client run 8 threads concurrency insert into one Innodb table:
*~600 qps when sync_binlog=1 & innodb_flush_log_at_trx_commit=1
~600 qps when sync_binlog=10
2009 Jan 09
0
Using yaml_db plugin on windows
Hi,
I''ve tried installing yaml_db on a winxp machine.
installation seemed fine: ruby script\plugin install
git://github.com/adamwiggins/yaml_db.git - was ok
but when i am trying to run
rake db:dump
i am getting:
------8<----------8<----------8<----------8<----------8<----------8<----
C:\ruby\ab_proj\dprdb\090109a>rake db:dump
(in C:/ruby/ab_proj/dprdb/090109a)
2010 Mar 25
3
Reading SQL Server Tables using RODBC
Hello Everyone,
I'm still quite new to R and am having trouble reading SQL Server Tables using RODBC. I've looked though the RODBC documentation as well as material I found online and in the book "Data Manipulation with R," but I just can't quite seem to get things to work.
Right now, I have code that looks something like:
channel <- odbcDriverConnect
2015 Dec 04
4
RFC: New function attribute HasInaccessibleState
>What if you had bitcode versions of your C library
Then the definitions for these functions would be available. Would we still
set function attributes to these functions in FunctionAttrs.cpp if their
definitions were available?
>This also seems a bit tailored to malloc/free, and can't work for
user-defined allocation functions
I don't think so. For example, printf would have the
2013 Jun 14
0
Support for deferrable constraints in PostgreSQLAdapter#disable_referential_integrity
I recently submitted a pull-request
(https://github.com/rails/rails/pull/10939) to address a bug in
PostgreSQLAdapter#disable_referential_integrity related to how the
existing code behaves in a transaction when the PostgreSQL user account
lacks superuser privileges on the PostgreSQL instance.
While this permits the code to function without crashing, it doesn''t
actually make
2011 Feb 26
9
No connection to mysqld
Hi.
I started mysqld.exe using Wine and it seems to work.
But when I try to connect the server seems to answer somehow (connection is established, telnet works) but it seems that no communication takes place. mysql freezes and in telnet no response is shown.
Any idea what this could mean? Running in Windows without an installer works so it has to be some problem with wine somehow.
Using Ubuntu
1999 Dec 10
0
snprintf from postgresql
/*
* Copyright (c) 1983, 1995, 1996 Eric P. Allman
* Copyright (c) 1988, 1993
* The Regents of the University of California. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of
2007 Feb 05
2
tc filter matches ip fileds inside pppoe frames
I have a requirement which I guess it is not too unusually, however I haven''t
quite figured out how to do it and couldn''t find any examples which handle that.
I have made myself a Linux-based bridge, eth0 bridged with
eth1 to form br0.
In this bridge, I run ''tc'' script to handle QoS.
So far nothing unusual.
However, what''s different is that this
2006 Aug 18
1
Rails Blob is dead
Rails Blob is dead.
Go for it Clegg.
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
1
Uploading BLOB into MySQL
Greetings RoR Folks,
I''ve seen lots of examples that show how to load images into MySQL
databases using RoR with the file actually sitting on the filesystem and
the file path stored in the database.
What I would like to do is upload a file (.jpg, .png, .gif, .mp3, or
.wav) into a MySQL BLOB column so that the file is not on the file
system, but rather in the MySQL database.
The
2006 Jan 17
1
Insert blob - rails 1.0.0 mysql 3.23 - sql syntax error
Hi,
Experimenting with upload and insert a picture into a MySQL database - using
Agile Web Development with Rails p362-3.
We have rails 1.0.0 and MySQL 3.23.58.
I get an error
''You have an error in your SQL syntax near''
because rails uses the x''ffdbff....'' notation for the blob which is not
available until MySQL 4
Is there a way of switching Rails to use
2010 Apr 03
0
Change from attachment_fu db BLOB to Paperclip S3
Hi:
I have moved from using attachment_fu with files stored in the DB to
Paperclip using S3. The trick now is to migrate the files from the DB
to S3.
I have tried a few methods like:
SThreeFile.create(:file => AttachmentFuFile.first.data)
and
@attachment = AttachmentFuFile.first
SThreeFile.create(:file => ActionController::Streaming.send_data
@attachment.data, :filename =>
2006 Oct 10
0
putting a blob in migrations
What data type would i use in the migration for audio files?
I usually use blob but i do not know if that works with the migration,
should I just use string and change it in MySql to blob?
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2011 Jul 13
1
Upload large files to BLOB
Hi to all.
I''m working with saving big files(~200mb) directly into db.
I have issue with that.
Caused by increased huge use of free RAM(about 3gb of ram and 3gb of
swap) on stage when file saves to db:
@job.pdf = params[:job][:pdf].read
After this is completed there is still some RAM and swap in use.
Is there some way to optimize that?
p.s. project on rails 3.0.3, uses mysql,
2014 Sep 23
2
Playback/background audio from MySQL BLOB
For some applications, storing recorded audio (prompts and caller
recordings) as a BLOB in MySQL has advantages.
So, once I have the audio in the database, how can I play it?
Creating temporary files seems so tacky.
Is there another way to playback or background audio either by specifying
a URL or from a memory buffer (either C or PHP)?
--
Thanks in advance,
2016 Oct 03
0
[Bug 70354] [NVE6, NVE7] HUB_INIT timeout on graph init, blob fw doesn't help
getting same error message. can you address this as well?
Here is output from lspci
1:00.0 3D controller [0302]: NVIDIA Corporation GK107M [GeForce GT 745M]
[10de:0fe3] (rev a1)
Subsystem: Lenovo GK107M [GeForce GT 745M] [17aa:3809]
Flags: bus master, fast devsel, latency 0, IRQ 30
Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
Memory at a0000000 (64-bit,
2013 Feb 11
1
Error: headerRead failed: hdr blob
Hi,
I'm currently at CentOS 5.8 and am applying the latest OS updates available
for 5.8. I'm seeing following error:
error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm: headerRead failed: hdr
blob(48062): BAD, read returned 515
error: bind-libs-9.3.6-20.P1.el5_8.6.x86_64.rpm cannot be installed
Similar error is seen for other rpms as well.
Any idea?
Thanks,
Anumeha
2015 Mar 03
2
ndr_push_error(6) blob length is too large
Hello all,
I've set the log level of my DC to 3. I'm using it as a file server too
although it is not recommended.
I now have the following errors in log.samba:
[2015/03/03 08:58:54.244106, 2]
../source4/dns_server/dns_query.c:629(dns_server_process_query_send)
Not authoritative for 'versioncheck.addons.mozilla.org', forwarding
[2015/03/03 08:58:54.266123, 1]