• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

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