Warning: mysql_pconnect() [function.mysql-pconnect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /public_html/ams/include/_functions.inc.php on line 8

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /public_html/ams/include/_functions.inc.php on line 9

Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given in /public_html/ams/include/_functions.inc.php on line 12

Warning: mysql_query() expects parameter 2 to be resource, boolean given in /public_html/ams/include/_functions.inc.php on line 13

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000] [2002] Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)' in /public_html/ams/include/_functions.inc.php:15 Stack trace: #0 /public_html/ams/include/_functions.inc.php(15): PDO->__construct('mysql:host=loca...', 'l45406jh_anna', 'smA#7854!') #1 /public_html/ams/index.php(6): dbConnect() #2 {main} thrown in /public_html/ams/include/_functions.inc.php on line 15