Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question

closed as off-topic by HopelessN00b Feb 17 '15 at 19:11

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Questions on Server Fault must be about managing information technology systems in a business environment. Home and end-user computing questions may be asked on Super User, and questions about development, testing and development tools may be asked on Stack Overflow." – HopelessN00b
If this question can be reworded to fit the rules in the help center, please edit the question.

Set max_allowed_packet in your my.cnf MySQL configuration file

See for more information.

share|improve this answer
Thanks, I hit this issue adding a large plugin to Atlassian Confluence. The docs you linked to fixed it :-) – tovare Aug 6 '10 at 21:22

You need to raise max_allowed_packet under [mysqld] section in the configuration file (my.cnf).

share|improve this answer

If your under windows you will need to edit the max_allowed_packet in your my.ini file. You can see the MySQL Ref Manual for help on this as well.

share|improve this answer