Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 1st December 2011, 13:00
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 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
  #2  
Old 1st December 2011, 18:05
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 36,202
Thanks: 829
Thanked 5,420 Times in 4,262 Posts
Default

mysql seems to be down. Please restart mysql and check for errors in the syslog.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 3rd December 2011, 10:27
abintipl abintipl is offline
Senior Member
 
Join Date: Nov 2010
Posts: 150
Thanks: 31
Thanked 5 Times in 5 Posts
 
Default Thanks

Dear Sir,

Thank you for your help and continuous support.

My Server is working now

regards,

Abin
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig3 mail doesn't work pehden Installation/Configuration 20 9th December 2013 14:05
ispconfig 3 cant receive emails lishaw1968 Installation/Configuration 25 19th August 2013 10:37
Need some Hints to "The Perfect Server - Debian Lenny (Debian 5.0) [ISPConfig 3]" wahid HOWTO-Related Questions 10 25th August 2010 15:18
ISPConfig 3 Send/Receive mail not working. Acidut General 6 4th April 2010 11:24
Webmail Relay Error palkat General 17 23rd April 2006 18:12


All times are GMT +2. The time now is 11:27.


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