• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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