MySQL Connection Error 

Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) 



MySQL Query Error 

select * from settingCan't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)