• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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