• 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!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    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. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

ERROR: PleskDBException: Unable to connect to database

daanse

Regular Pleskian
Hi,
have that same stupid Error again and again.

In the Morning (always at 6:30 am) Plesk / Mysql goes down with following Error:
"ERROR: PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory (Error code: 2002) (Abstract.php:69)"

What can i do?
And if i want to fix that Problem (restart Mysql, fresh install mysql) i can't get that Server running again.
Still shows me "ERROR: PleskDBException: Unable to connect to database: mysql_connect(): No such file or directory (Error code: 2002) (Abstract.php:69)"

Any Suggestions?

btw: this file /etc/my.cnf doesn't exist.
Debian 7.9 & 8.2.

Thank you.
 
hm don't looks like that Error i've mentioned. The Server is new without much customers.
Also i your Link theres Versions "Plesk 12.0" but i have 12.5
and its all sites & Plesk which isn't accessible hm.

This Solution didn't helped. Sorry.
Any Ideas?
 
Hi Daka Media KG,

try to repair your database with:

plesk repair db
... and post possible issues from the command line and/or from the repair - log.
 
Back
Top