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

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

Warning: mysql_select_db(): A link to the server could not be established in /home/dominic/public_html/include/db_class.php on line 7
Could not connect to database. Please check configuration and ensure MySQL is running.