In my PHPBB forum or any other script which use MYSQL in that sometimes i encountereted an error "MYSQL has gone away" on refreshing this problem is gone... please tell me what can be solution of this, i noticed this problem more when i am on slow internet connection and page taking time to load due to slow internet connection.
You get these errors if you send a query to the server that is incorrect or too large. If mysqld receives a packet that is too large or out of order, it assumes that something has gone wrong with the client and closes the connection.
Try to increase the max_allowed_packet to 8MB. The entry should be as following in my.cnf:
ServerManagementAdmins -- Expert in Server Management, Server Hardening & Server Optimization. https://www.servermanagementadmins.com
Server Management Company
IM (skype): servermanagementadmins Email: sales[at]servermanagementadmins[dot]com