Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/usr/run/mysql/mysql' (2) in /classes/db.class.php on line 13

Fatal error: Class 'error' not found in /classes/db.class.php on line 13