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

Created:

2016-11-16 12:45:59 UTC

Modified:

2017-05-11 09:37:01 UTC

0

Was this article helpful?


Have more questions?

Submit a request

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

Applicable to:

  • Plesk 11.5 for Windows
  • Plesk 12.0 for Windows
  • Plesk 12.5 for Windows

Symptoms

  • When attempting to log in to Plesk, the following error appears:

     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.php
    Line 33
    Type SB_Facade_Exception_Generic
  • " Plesk SQL Server " service is running in the system, but " MySQL Server " service is not running. When trying to start " MySQL Server " service, it crashes after some time.

  • MySQL log file " %plesk_dir%Databases\\MySQL\\data\\<computer_name>.err " contains the following error:

     2160323 20:40:06  InnoDB: Operating system error number 1117 in a file operation.
    InnoDB: Some operating system error numbers are described at
    InnoDB: http://dev.mysql.com/doc/refman/5.1/en/operating-system-error-codes.html
    InnoDB: File name .\\ibdata1
    InnoDB: File operation call: 'Windows aio'.
    InnoDB: Cannot continue operation.
  • When trying to copy " %plesk_dir%Databases\\MySQL\\data\\ibdata1 " file to some other location, it fails with the following error:

    An unexpected error is keeping you from copying the file. If you continue to receive this error, you can use the error code to search for help with this problem.

    Error 0x8007045D: The request could not be performed because of an I/O device error.

    Your text to link here...

Cause

The issue is not caused by Plesk. There can be several causes of the issue:

  1. It can be caused by antivirus installed on the server
  2. HDD may be corrupted
  3. There can be some issues with Windows OS itself

Resolution

Contact your System Administrator to resolve the issue.

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