mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Can't connect to database localhost
mysql_select_db() expects parameter 2 to be resource, boolean given
mysql_errno() expects parameter 1 to be resource, boolean given
Can't select database craftrev_db:
mysql_errno() expects parameter 1 to be resource, boolean given
mysql_get_server_info(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
mysql_get_server_info(): A link to the server could not be established
mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)