- Plesk for Linux
The following errors are found in
PLESK_INFO: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)
ERROR while trying to establish test connection
Check the error reason(see log file: /var/log/plesk/install/plesk_17.5.3_installation.log), fix and try again
Plesk and websites are not available.
- No errors are found in `/var/log/mariadb/mariadb.log` or `/var/log/mysql/error.log`.
MySQL service is stopped.
Connect to the server via SSH
Start the service:
# service mysqld start #for CentOS/RHEL-based distributions
# service mysql start #for Debian/Ubuntu-based distributions