• Resolved thiemoe

    (@thiemoe)


    The MailPoet plugin notifies me that it is “unable to connect to the database (the databas is unable to open a file or folder)”

    I’ve tried solution 1 from the documentation (https://beta.docs.mailpoet.com/article/200-solving-database-connection-issues). wp-config.php used to indicate ‘localhost’ as DB_HOST but is now changed to <domainname>.mysql as my host one.com advised me to do. Still the problem persists. My guess is now solution 2 shouldn’t apply since the hostname isn’t ‘localhost’ anymore. Any ideas on how I could get MailPoet running? Any experiences with this particuar hosting company on that matter maybe?

    PDO is supported, PHP 7.1

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter thiemoe

    (@thiemoe)

    Seems like the PDO_MYSQL extension is missing. I’m checking in with my host provider to get this fixed.

    Thread Starter thiemoe

    (@thiemoe)

    pdo_mysql is actually loaded. I had overlooked it in the phpinfo. Still the database connection is not working. Maybe a problem with php 7.1?

    Thread Starter thiemoe

    (@thiemoe)

    The problem was an unknown character set in wp-config.php. Changed ‘utf-8’ to ‘utf8’ and now it’s working.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Plugin is unable to connect to the database – not ‘localhost’’ is closed to new replies.