The problem is that you are starting mysql with the wrong
arguments. I think you need to set the max_allowed_packet
parameter to something larger than the default 1 M. I got
mine to do that by using this command:

safe_mysqld --user=mysql -O key_buffer=16M -O table_cache=128 -O sort_buffer=4M -O 
record_buffer=1M -O max_allowed_packet=24M

-Borries
> 
> I am using Qt 3.0.5's QSql database classes to store
> information in a MySQL database.  MySQL is at version
> 3.23.49.  I am trying to store binary data into a
> column marked as MEDIUMBLOB (or even LONGBLOB) but am
> having difficulties.  Whenever I insert data that is
> around 1 Megabyte in size, I get an error saying
> "MySQL server has gone away".  It doesn't happen with
> smaller data, and even if I change the column type to
> LONGBLOB I still have this problem.  The data I am
> trying to insert is an exectuable application,
> although I have tried it with a normal text file and
> have run into the same problems.  Can anyone shed some
> light onto what could be causing this problem? 
> Thanks!!
> 
> Steve Nakhla
> [EMAIL PROTECTED]
> 
> __________________________________________________
> Do you Yahoo!?
> Y! Web Hosting - Let the expert host your web site
> http://webhosting.yahoo.com/
> 
> --
> List archive and information: http://lists.trolltech.com/qt-interest/
> 


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to