Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/expertf/public_html/directory/lib/dir.php on line 31

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/expertf/public_html/directory/lib/dir.php on line 31
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111) in /home/expertf/public_html/directory/lib/dir.php on line 31

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/expertf/public_html/directory/lib/dir.php on line 31
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)