Warning: mysql_connect(): MySQL server has gone away in /home/byp/public_html/photopost/pp-inc.php on line 305

Warning: mysql_connect(): Error while reading greeting packet. PID=556 in /home/byp/public_html/photopost/pp-inc.php on line 305

Warning: mysql_connect(): MySQL server has gone away in /home/byp/public_html/photopost/pp-inc.php on line 305
I cannot connect to the PhotoPost database. [$php_errormsg]