Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home2/ausfarms/public_html/admin/dbconfig.php on line 12

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home2/ausfarms/public_html/admin/dbconfig.php on line 14
Can't use database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)