Unable to access Plesk: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.

Created:

2016-11-16 12:51:05 UTC

Modified:

2017-08-16 15:42:16 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Unable to access Plesk: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.

Applicable to:

  • Plesk for Windows

Symptoms

  • Unable to access Plesk:

    Internal error: SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.Message     SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it.File    Generic.phpLine    33Type    SB_Facade_Exception_Generic
  • The same error appears when trying to open Websites and Domain page.
  • Event Viewer application log contains the following message:

    C:\\Program Files (x86)\\Parallels\\Plesk\\Databases\\MySQL51\\bin\\mysqld.exe: Out of memory (Needed 16391 bytes)

Cause

The MySQL server is crashed due to lack of memory.

Resolution

  1. Increase RAM memory on the server to prevent further failures.
  2. Start the MySQL server service by running the following commands in windows cmd.exe:

    • Plesk MySQL service:

      net start PleskSQLServer
    • MySQL service :

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