Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/teacherg/public_html/inc/connect.php on line 7

Failure connecting to MySQL server on: localhost
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)