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

Warning: mysql_select_db() [function.mysql-select-db]: Can't connect to local MySQL server through socket '/usr/run/mysql/mysql' (2) in /inc/func.php on line 16

Warning: mysql_select_db() [function.mysql-select-db]: A link to the server could not be established in /inc/func.php on line 16
<br /> <b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: Can't connect to local MySQL server through socket '/usr/run/mysql/mysql' (2) in <b>/inc/func.php</b> on line <b>267</b><br /> <br /> <b>Warning</b>: mysql_query() [<a href='function.mysql-query'>function.mysql-query</a>]: A link to the server could not be established in <b>/inc/func.php</b> on line <b>267</b><br /> Can't connect to local MySQL server through socket '/usr/run/mysql/mysql' (2)