HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=27)
-   -   Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) (http://www.howtoforge.com/forums/showthread.php?t=55189)

abintipl 1st December 2011 13:00

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

till 1st December 2011 18:05

mysql seems to be down. Please restart mysql and check for errors in the syslog.

abintipl 3rd December 2011 10:27

Thanks
 
Dear Sir,

Thank you for your help and continuous support.

My Server is working now

regards,

Abin


All times are GMT +2. The time now is 18:13.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.