Re: setting max packet size from the client side
Posted by: Mark Matthews
Date: December 04, 2007 04:10PM

Matthew,

I'll treat that like a bug for c/j, we shouldn't try and create a packet *that* large (in fact, I *thought* it was capped to 1M inside the driver).

In any case, for now as a workaround you can add

"sessionVariables=max_allowed_packet=1048576" as a JDBC configuration parameter, and the driver will do a "set session max_allowed_packet=..." when it connects, and then end up reading that value back to itself.

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: setting max packet size from the client side
December 04, 2007 04:10PM


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.