Hello,
If you are facing following errors while restarting plesk services / mysql service.
-------------
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
System error 2: No such file or directory
Unable to connect to Plesk Database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
System error 2: No such file or directory
Unable to connect to the mysql database
System error 2: No such file or directory
Unable to connect to the mysql database
System error 2: No such file or directory
---------------------------------------------
[ERROR] /usr/libexec/mysqld: unknown option '--skip-bdb'
---------------------------------------------
You can edit the configuration file
/etc/my.cnf
and disable the '--skip-bdb' option in the file and give a try to restart the services.
mysql will be running ,,,,,,,,,,,
This worked for my case....
__________________
Warm Regards,
Keanu
Support Team
|