I am using WAMP server for my web application . Sometimes I see this General error: 2006 MySQL server has gone away\'
I am updating the MySQL database through PDO PH
one possibility:
open your mysql/bin/my.ini, change
max_allowed_packet = 1M under both [mysqld] and [mysqldump]
max_allowed_packet = 1M
to
max_allowed_packet = 100M