- Server operating system version
- Centos 7
- Plesk version and microupdate number
- 18.0.71.2
Hi all,
I was upgrading Plesk and it appeared to break during the process.
It appears that MariaDB has broken and I cannot get it working at all.
The error is "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" and I have gone through as many options as I can find and MariaDB simply cannot start. I have made various changes to my.cnf and tried to run with the host parameter being either 127.0.0.1, 0.0.0.0 or localhost and none of these work either.
Also, /usr/lib/systemd/system/mariadb.service.d is empty so systemctl start mariadb / mysql doesn't work.
Help. I'm really stuck
thanks anyone for your help.
I was upgrading Plesk and it appeared to break during the process.
It appears that MariaDB has broken and I cannot get it working at all.
The error is "ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)" and I have gone through as many options as I can find and MariaDB simply cannot start. I have made various changes to my.cnf and tried to run with the host parameter being either 127.0.0.1, 0.0.0.0 or localhost and none of these work either.
Also, /usr/lib/systemd/system/mariadb.service.d is empty so systemctl start mariadb / mysql doesn't work.
Help. I'm really stuck