Support » Plugin: MailPoet - emails and newsletters in WordPress » anyone on STRATO webhosting?

  • Resolved jodokuskwak

    (@jodokuskwak)


    I got MP 3 working on 1 of my 2 sites, but on the other, when I activate it I get the “unable to connect to the database” error. Unfortunately, none of the solutions provided in this KB article works.

    The website is hosted at STRATO webhosting, a large German provider operating all over Europe. In this thread, 6 other people report exactly the same problem. Unfortunately, that thread has been marked as “solved” without publishing the solution.

    Is there anyone out here who did get MP 3 working on STRATO? What’s the trick?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Jack K

    (@jack-kitterhing)

    Hi there @jodokuskwak,

    On Strato hosting there’s usually a trailing semicolon at the end of the define for the database connection in your wp-config.php.

    Try removing that and it should work then. For example:

    define('DB_HOST', 'example.strato.de:');

    becomes

    define('DB_HOST', 'example.strato.de');

    Then everything should connect correctly.

    Thanks!

    • This reply was modified 1 year, 3 months ago by  Jack K.

    Jack K,

    You are golden! That did the trick!

    Any idea why WordPress itself has no problem with that colon* but MailPoet stumbles over it?

    *) (“:”, I think a semicolon is “;”)

    Our WordPress was installed by STRATO’s AppWizard. I assume this runs a script…. With a serious error.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘anyone on STRATO webhosting?’ is closed to new replies.