FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mysql error 1153

 
Post new topic   Reply to topic     Forum Index -> DDBI
View previous topic :: View next topic  
Author Message
dhasenan



Joined: 03 Feb 2005
Posts: 73
Location: New York

PostPosted: Thu Jan 29, 2009 10:10 pm    Post subject: mysql error 1153 Reply with quote

Code:

auto statement = db.prepare("INSERT INTO First (`text`, `date`) VALUES (?, ?)");
statement.paramTypes(DbiType.DateTime, DbiType.String);
statement.execute(&first1.date, &first1.text);


This returns a mysql error 1153: Got a packet bigger than 'max_allowed_packet' bytes.

Any idea what's going on? `text` is around twenty characters.
Back to top
View user's profile Send private message AIM Address
dhasenan



Joined: 03 Feb 2005
Posts: 73
Location: New York

PostPosted: Thu Jan 29, 2009 10:13 pm    Post subject: Reply with quote

My maximum allowed packet size is 16MB (I just checked). Perhaps the error code is being reported incorrectly?
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DDBI All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group