• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

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