• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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