• 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/

PleskMainDBException error Can't connect to MySQL server

4

4drob

Guest
I inherited a Windows 2003 server with Plesk 7.6.5. All of a sudden this morning Plesk control panel won't run, instead displaying:

ERROR: PleskMainDBException
[MySQL][ODBC 3.51 Driver]Can't connect to MySQL server on 'localhost' (10061)

0: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:610
reconnect()
1: C:\Program Files\SWsoft\Plesk\admin\plib\common_func.php3:592
db_connect()
2: C:\Program Files\SWsoft\Plesk\admin\auto_prepend\auth.php3:63

I tried restarting MySQL and the server a few times. I can login manually with "mysql -uadmin -p". No errors in Event Viewer.

Any ideas? Thanks!
 
Back
Top