- Plesk for Linux
- Plesk for Windows
There was an attempt to switch a database server from MySQL to MariaDB.
Plesk is not accessible after this procedure. The following error message is shown in a browser:
PLESK_ERROR: Unable to connect to database: mysql_connect(): No such file or directory /var/lib/mysql/mysql.sock (Error code: 2002). Please check that database server is started and accessible. (Abstract.php:69)
MySQL is not starting:
# service mysql start
mysql: unrecognized service
Switching from MySQL to MariaDB procedure was performed incorrectly.
Review the procedure described in the KB article: