November 21, 2007

com.mysql.jdbc.packetTooBigException

Did you ever get this? I got it when I was working with Sun Identity Manager. The best solution is to edit the the mysql file, my.ini (windows) to add max_allowed_packet parameter under [mysqld] section and restart the MySql server.

# SERVER SECTION
# ----------------------------------------------------------------------
#
# The following options will be read by the MySQL Server. Make sure that
# you have installed the server correctly (see above) so it reads this
# file.
#
[mysqld]

max_allowed_packet=32M

No comments:

Post a Comment

This is how we learn. Say it right away ...