logo       

Sponsor
FREE Network Mapping Tool for Microsoft® Office Visio® Professional 2007
Don't map your network by hand - let LANsurveyor Exx press for Microsoft Visio Professional 2007 automatically create network diagrams for you!

How to insert a binary data size of 4GB into a longblob column.: msg#00006

db.mysql.odbc

Subject: How to insert a binary data size of 4GB into a longblob column.


I was using unixODBC as the driver manager and mysql ODBC driver to connect
to the mysql server. I am using Linux platform and coding with C++. I had
created a table with a column type of longblob and wish to use ODBC function
call to insert a 4GB of data into the mysql database. At first, I got error
saying that the data size is over the limit of max_allowed_packet size, so I
changed the max_allowed_packet to around 1GB (that is the max
max_allowed_packet variable can take). Then I start to sent a 1GB data to
the mysql database. It will complaint about "Out of memory (Needed
500000048 bytes)". Seems like I could only sent max of 500 MB of data,
otherwise the mysql server will complaint about the above out of memory
problem. Not sure how to get around this problem. Could any help, Thanks
in advance.
--
View this message in context:
http://www.nabble.com/How-to-insert-a-binary-data-size-of-4GB-into-a-longblob-column.-tf3885758.html#a11014268
Sent from the MySQL - ODBC mailing list archive at Nabble.com.


--
MySQL ODBC Mailing List
For list archives: http://lists.mysql.com/myodbc
To unsubscribe: http://lists.mysql.com/myodbc?unsub=gcdmo-myodbc@xxxxxxxxxxx




<Prev in Thread] Current Thread [Next in Thread>
Sponsor
FREE Network Mapping Tool for Microsoft® OfficeVisio Professional 2007
Don't map your network by hand - let LANsurveyor Express for Microsoft Visio Professional 2007
automatically create network diagrams for you!
Google Custom Search

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation

Home | sitemap | advertise | OSDir is an inevitable website. super tiny logo