Horde webmail error: Failed to connect to database: Unknown MySQL Server Host 'localhost' (11001)

Created:

2016-11-16 13:13:54 UTC

Modified:

2017-04-24 11:33:49 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Horde webmail error: Failed to connect to database: Unknown MySQL Server Host 'localhost' (11001)

Applicable to:

  • Plesk 11.5 for Windows

Symptoms

Can not enable/disable mail service on subscription:

Failed to connect to database: Unknown MySQL Server Host 'localhost' (11001)

Cause

Incorrect Horde configuration after upgrade.

Resolution

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

change string

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

to

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

In case if the above solution does not help, please use the following article .

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