Warning: mysql_query() [function.mysql-query]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/software/public_html/include/settings.php on line 5

Warning: mysql_query() [function.mysql-query]: A link to the server could not be established in /home/software/public_html/include/settings.php on line 5
MySQL Problem;
File : /home/software/public_html/include/settings.php
Line 6
Error : Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)