Plesk login page is unavailable:
ERROR: PleskDBException: 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 fails to start. While attempt to start MySQL similar to the below error appears in the
/var/log/mariadb/mariadb.logwith reference to different variable:
[ERROR] /usr/libexec/mysqld: unknown variable 'set-variable=local-infile=0'[ERROR] Aborting
/etc/my.cnfcontains unsupported variable.
Misspelling in variable name.
Connect to the server via SSH;
Check that variable name is set correctly in
If the issue persists, comment the line with variable name in
/etc/my.cnffile under [mysqld] section.
Start MySQL service or restart if it is already running:
# service mysqld restart
# service mariadb restart