Go Back   Cloud Computing > Support > Control Panel Forum
 

Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old 05-16-11, 07:59
BOD Member
 
Join Date: Nov 2010
Posts: 104
Default Plesk Log In Error:

Hi

I am using Plesk since long time, but recently while log in to Plesk it gives me an following error:

Quote:
ERROR: PleskFatalException
Unable to connect to database: mysql_connect() [<a href='function.mysql connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
0: common_func.php3:146
psaerror(string 'Unable to connect to database: mysql_connect() [<a href='function.mysql-connect'>function.mysql-connect</a>]: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)')
1: auth.php3:93
Reply With Quote
  #2 (permalink)  
Old 05-19-11, 07:00
BOD Member
 
Join Date: Nov 2010
Posts: 95
Default

Not sure about this, but I think you need to do a yum update so everything will be installed fine. But if you have a new version of MySQL, then you need to remove the Berkely bdb from the my.cfg otherwise MySQL daemon will not start up. For more details you need to consider following URL:
Reply With Quote
  #3 (permalink)  
Old 05-23-11, 00:45
BOD Member
 
Join Date: Jun 2010
Posts: 175
Default

Just go to /etc/my.cnf and disable the option '--skip-bdb' and finally try to restart the services.
You will see your issue resolved....
__________________
Carol.P
Reply With Quote
  #4 (permalink)  
Old 05-23-11, 06:18
BOD Member
 
Join Date: Nov 2010
Posts: 104
Default

Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump


All times are GMT -6. The time now is 05:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
Copyright © 1999-2012, BODHost Ltd. All rights reserved.