• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PleskDBException: Unable to connect to database

Pavel12

New Pleskian
PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory (Error code: 2002) (Abstract.php:69)

Freshly installed distrib Ubuntu 14.04 / Plesk 12.
Everything worked out of the box,
When i tried to enable bind9 it failed
I did this:
http://kb.odin.com/en/120026
or wiped apparmor.

Now plesk is down due to db issues.
Mysql stopped
trying to restart - fails.

Any help appreciated

Thanks!
 
Try to use string "Unable to connect to database: mysql_connect(): No such file or directory" for search in KB articles.
There are many related articles. I hope it will help you find a reason and fix it.
 
If mysql itself will not start, then this wouldn't be a Plesk issue. What errors do you get when you try to start mysql?
 
Back
Top