MySQL Forums
Forum List  »  InnoDB

Saving file to Database
Posted by: Chandan Ghosh
Date: January 05, 2006 01:02AM

Hi All,
I am in trouble. please help me.

I am trying to save file of size greater than 1.5 MB. Sql error occurs. But I am successfullt save data of size upto 1.5 MB.

The column type is simple BLOB.

the SQL Error is


[exec] 10:55:33,598 WARN [JDBCExceptionReporter] SQL Error: 0, SQLState: S1000
[exec] 10:55:33,598 ERROR [JDBCExceptionReporter] Packet for query is too large (1048592 > 1047552). You can change this value on the server by setting the max_allowed_packet' variable.
[exec] 10:55:33,598 INFO [TBWorkflowAction] doSubmit:errorMsg=could not insert: [com.xpflow.transferobject.ProcessStepAttachmentTO]

Options: ReplyQuote


Subject
Views
Written By
Posted
Saving file to Database
1952
January 05, 2006 01:02AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.