PDA

View Full Version : Plesk Log In Error:



Irene9001
05-16-11, 07:59
Hi

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


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

Somebody Help Me

LogenWilson
05-19-11, 07:00
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:
http://www.atomicorp.com/wiki/index.php/Mysql

Carol.P
05-23-11, 00:45
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....

Irene9001
05-23-11, 06:18
Thank You super_human