[gameprogrammer] Anyone know how to fix MySQL problem?

  • From: Kevin Jenkins <gameprogrammer@xxxxxxxxxx>
  • To: gameprogrammer@xxxxxxxxxxxxx
  • Date: Thu, 08 May 2008 23:09:53 -0700

Using mysql_stmt_prepare

bind[1].buffer_type= MYSQL_TYPE_LONG_BLOB;
        bind[1].buffer= (void*) hardDriveData;
        bind[1].buffer_length= hardDriveDataLength;
        bind[1].is_null= &falseVar;
        bind[1].length=&l3;

Fails, with error:

Error: Got a packet bigger than 'max_allowed_packet' bytes

However, previously when I created the table I called SET @@max_allowed_packet=1073741824;



---------------------
To unsubscribe go to http://gameprogrammer.com/mailinglist.html


Other related posts: