• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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