View Single Post
  #1  
Old 1st December 2011, 14:00
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 6 Times in 6 Posts
Default Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

Dear Sir,

I have Debian with ISPCOnfig latest version running

I did

Optimize MySQL performance with mysqltuner

as per instructions on

http://www.faqforge.com/category/lin...-server-linux/

After that, I am not able to get to my ISpconfig control panel & getting an Error

Warning: mysql_connect() [function.mysql-connect]: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) in /usr/local/ispconfig/interface/lib/classes/db_mysql.inc.php on line 76

Also if I browse my website, get an Error "Error establishing a database connection"

I really don't know, what went wrong

Please help

Thanks

Abin
Reply With Quote
Sponsored Links