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

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