Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/zegaryst/public_html/inc/db.php on line 14

Fatal error: Call to undefined function perror() in /home/zegaryst/public_html/inc/db.php on line 16