Recently I was doing an import of a clients database from production which was so so in size. But I was installing it on a fresh install of WAMP Server. First it died because of upload_max_filesize inside the php.ini, that one is a simple one. After changing that to a size larger than the db import script PHPMYADMIN threw the #2006 MySQL server has gone away.
After scouring the web and the mysql site and found that if a packet is too large the mysql connection will be closed.
So to set the max size allowed for the packet in mysql change:
max_allowed_packet = 60M
By default it was set to 1M and 60 seemed to be plenty to do the trick.
Learn the foundation of the DHTMLX Suite quickly while building a single page application with multiple components in harmony.
How often do you work with tables? I work with them quite a bit and styling t read more...
UPDATE!! A plugin is now available for this tutorial that includes more features read more...
When running a site with a boat load of javascript, you may want to run a script read more...
There seems to be a lot of misconceptions on the difference between the document read more...
Greetings All! Since everyone was digging the Star Comment Rating I decided that read more...
Yeah, making key_buffer and max_allowed_packet 16M usually solves this issue.