Plesk login fails: Unable to connect to database. No connection could be made because the target machine actively refused it

Created:

2016-12-12 03:48:40 UTC

Modified:

2017-08-08 13:28:06 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Plesk login fails: Unable to connect to database. No connection could be made because the target machine actively refused it

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

Plesk login fails:

[ERROR]Unable to connect to database. System message: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.

PleskSQLServer service is missing from Windows Services list.

Cannot start PleskSQLServer service using Plesk Services Monitor:

The process terminated unexpectedly. (Error code 1067) at Start service PleskSQLServer at (service:startStopService line 994)

Cause

Service was manually removed from Windows Services.

Resolution

Run Windows command line and register the service using the command below:

"%windir%"\\system32\\sc create PleskSQLServer binPath= "\\"C:\\Program Files (x86)\\Parallels\\Plesk\\MySQL\\bin\\mysqld.exe\\" \\"--defaults-file=C:\\Program Files (x86)\\Parallels\\Plesk\\MySQL\\Data\\my.ini\\" PleskMySQLService" type= own error= ignore start= auto

Additional info

MySQL Server service is missing: No connection could be made because the target machine actively refused it

Have more questions? Submit a request
Please sign in to leave a comment.