Warning: mysql_connect(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46) in /inv/realtimeinv.php on line 10

Warning: mysql_select_db(): Can't connect to local MySQL server through socket '/tmp/mysql.sock' (46) in /inv/realtimeinv.php on line 11

Warning: mysql_select_db(): A link to the server could not be established in /inv/realtimeinv.php on line 11
Unable to select database