Hi, My client application will throw an exception with the description above when I am sending a file around 2 megs- I have only little knowledge about mysql back end. Does it mean that I need to set something like "maximum packets" on the mysql server? Thanks
From serverfault
Mirek
-
Set
max_allowed_packetin yourmy.cnfMySQL configuration fileSee http://dev.mysql.com/doc/refman/5.1/en/packet-too-large.html for more information.
tovare : Thanks, I hit this issue adding a large plugin to Atlassian Confluence. The docs you linked to fixed it :-)From Phil -
You need to raise
max_allowed_packetunder[mysqld]section in the configuration file (my.cnf).From Luca Tettamanti -
If your under windows you will need to edit the
max_allowed_packetin your my.ini file. You can see the MySQL Ref Manual for help on this as well.From Tim Meers
0 comments:
Post a Comment