• 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!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

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