Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/homoeopa/public_html/function.php on line 20

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/homoeopa/public_html/function.php on line 20
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)