dhasenan
Joined: 03 Feb 2005 Posts: 73 Location: New York
|
Posted: Thu Jan 29, 2009 10:10 pm Post subject: mysql error 1153 |
|
|
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. |
|