Title: Database error
Last modified: October 6, 2023

---

# Database error

 *  [snipsnip](https://wordpress.org/support/users/snipsnip/)
 * (@snipsnip)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/database-error-396/)
 * Hello I receive the following error when activating the plugin:
 * **MailPoet Error: **Unable to connect to the database (the database is unable
   to open a file or folder), the connection is likely not configured correctly.
   Please read our [Knowledge Base article ](https://kb.mailpoet.com/article/200-solving-database-connection-issues)
   for steps how to resolve it.
 * I have tried changing the wp-config file bit didn’t help.
 * I couldn’t find the location of the mysql.sock, I am on openlitespeed

Viewing 1 replies (of 1 total)

 *  Plugin Support [Ojoma a11n](https://wordpress.org/support/users/geraltrivia/)
 * (@geraltrivia)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/database-error-396/#post-17125673)
 * Hello there [@snipsnip](https://wordpress.org/support/users/snipsnip/) ,
 * Thank you for reaching out to us.
 * It seems they might be some issues with OpenLiteSpeed and how they handle PHP(
   [https://openlitespeed.org/kb/default-php-settings-for-openlitespeed/](https://openlitespeed.org/kb/default-php-settings-for-openlitespeed/)).
 * I would recommend you reach out to your host support and ask them for help regarding
   this. You can also share our doc [https://kb.mailpoet.com/article/200-solving-database-connection-issues](https://kb.mailpoet.com/article/200-solving-database-connection-issues)
   with them so they know exactly what you need.
 * Of course, feel free to reach out to us if you need any more help or have other
   questions and we’d be happy to help.

Viewing 1 replies (of 1 total)

The topic ‘Database error’ is closed to new replies.

 * ![](https://ps.w.org/mailpoet/assets/icon-256x256.png?rev=3284564)
 * [MailPoet - Newsletters, Email Marketing, and Automation](https://wordpress.org/plugins/mailpoet/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mailpoet/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mailpoet/)
 * [Active Topics](https://wordpress.org/support/plugin/mailpoet/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mailpoet/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mailpoet/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Ojoma a11n](https://wordpress.org/support/users/geraltrivia/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/database-error-396/#post-17125673)
 * Status: not resolved