Can not enable/disable mail service: Failed to connect to database: Unknown MySQL Server Host 'localhost' (11001)

Created:

2016-11-16 13:09:42 UTC

Modified:

2017-08-16 16:05:40 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Can not enable/disable mail service: Failed to connect to database: Unknown MySQL Server Host 'localhost' (11001)

Applicable to:

  • Plesk 11.x for Windows

Symptoms

Can not enable/disable mail service on subscription with error: Failed to connect to database: Unknown MySQL Server Host 'localhost' (11001)

Cause

Horde configuration is incorrect.

Resolution

In file %plesk_vhosts%webmail\horde\config\conf.php change string

    $conf['sql']['hostspec'] = 'localhost';

to

    $conf['sql']['hostspec'] = "localhost";
Have more questions? Submit a request
Please sign in to leave a comment.