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

Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/protectl/public_html/common/db_connect.inc on line 3
Couldn't connect to MySQL on localhost.
Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)