Warning: mysql_pconnect(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /home/www-data/doc-book/web_app/database/class.MySQLCnn.php on line 40

Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (111) in /home/www-data/doc-book/web_app/database/class.MySQLCnn.php on line 41

Warning: mysql_select_db(): A link to the server could not be established in /home/www-data/doc-book/web_app/database/class.MySQLCnn.php on line 41
unable to select db