Articles in this section

Plesk is not accessible: 500 Plesk\Exception\Database: Plesk SQL Server: Error 1053

Plesk for Windows kb: technical

Applicable to:

  • Plesk for Windows

Symptoms

  • The Plesk UI is not accessible with the error:

    CONFIG_TEXT: 500 Plesk\Exception\Database

  • It is not possible to start the Plesk SQL Server service with the error:

    CONFIG_TEXT: Error 1053: The service did not respond to the start or control request in a timely fashion.

  • The next error can be found in the Event Viewer or the MySQL log file:

    CONFIG_TEXT: [ERROR] Can't start server: Bind on TCP/IP port. Got error: 10048: Only one usage of each socket address (protocol/network address/port) is normally permitted.
    [ERROR] Do you already have another mysqld server running on port: 3306 ?
    [ERROR] Aborting

Cause

The Plesk SQL Server service is configured incorrectly: the Path to executable parameter in the Plesk SQL Server configuration does not contain the data about the configuration file.

Resolution

  1. Connect to the server via RDP

  2. Open the Command Prompt under Administrator.

  3. Determine the path to Plesk directory:

    C:\> SET | findstr plesk_dir

  4. Use the plesk_dir from the output of the previous command to set the correct value for Path to executable parameter. E.g. if the output was as follows:

    C:\> plesk_dir=C:\Program Files (x86)\Plesk\

    , use the following command:

    C:\> sc config PleskSQLServer binPath= "\"C:\Program Files (x86)\Plesk\MySQL\bin\mysqld.exe\" --defaults-file=\"C:\Program Files (x86)\Plesk\MySQL\my.ini\" PleskSQLServer"

Was this article helpful?

Comments

1 comment
Date Votes

Please sign in to leave a comment.