Warning: mysql_connect(): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11) in /home/framwork/framework/classes/sql.php on line 394

Warning: mysql_set_charset() expects parameter 2 to be resource, boolean given in /home/framwork/framework/classes/sql.php on line 396

Warning: mysql_select_db() expects parameter 2 to be resource, boolean given in /home/framwork/framework/classes/sql.php on line 398
Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (11)