Title: Cannot run Solid Security error message in WP Admin
Last modified: December 8, 2023

---

# Cannot run Solid Security error message in WP Admin

 *  Resolved [Jamisons](https://wordpress.org/support/users/jamisons/)
 * (@jamisons)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cannot-run-solid-security-error-message-in-wp-admin/)
 * I’ve been using this plugin since it was called Better WP Security. It seems 
   with a recent update something has run amok. Here is the error message in WP 
   Admin:
 * Cannot run Solid Security. Error encountered during setup. Please try deactivating
   and reactivating Solid Security. **Contact support if the error persists.**
    1. Unknown character set: ‘localhost’
    2. Unknown character set: ‘localhost’
    3. Unknown character set: ‘localhost’
    4. The itsec_dashboard_lockouts table is not installed.
    5. The itsec_vulnerabilities table is not installed.
    6. The itsec_firewall_rules table is not installed.
 * Deactivating and reactivating the plugin did not help. Thanks!

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cannot-run-solid-security-error-message-in-wp-admin/#post-17262402)
 * Hi [@jamisons](https://wordpress.org/support/users/jamisons/), thanks for reaching
   out. We’re here to help!
 * I understand you’re running into database-related errors when running Solid Security.
   
   First, please ensure that your site’s database charset and collation are correct.
   The “character set” shows as `localhost`, but the default character set for WordPress
   is usually `utf8`, and collation is `utf8_general_ci`. In your [wp-config.php](https://help.solidwp.com/hc/en-us/articles/4402593759131-How-Do-I-Edit-The-wp-config-php-File-)
   file, include these lines:
 *     ```wp-block-code
       define( 'DB_CHARSET', 'utf8' );define( 'DB_COLLATE', 'utf8_general_ci' );
       ```
   
 * You can also check and modify this information using phpMyAdmin.
   For the missing
   tables, try reinstalling the plugin to make sure they are created.Let me know
   if it works!
 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cannot-run-solid-security-error-message-in-wp-admin/#post-17273498)
 * Hi there, 
   Checking in here to make sure you’re all set! I hope you found the
   previous reply helpful. 
 * Tracking notifications on this forum can become tricky over time, and since we
   haven’t received a response, I’ll mark this post resolved.
   If you still require
   further assistance, feel free to open a new support topic, and we’d be happy 
   to assist.Thank you!
 *  Thread Starter [Jamisons](https://wordpress.org/support/users/jamisons/)
 * (@jamisons)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cannot-run-solid-security-error-message-in-wp-admin/#post-17276350)
 * Updating the DB_CHARSET and DB_COLLATE in wp-config worked. Thanks.
 *  Plugin Support [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * (@shanedelierrr)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/cannot-run-solid-security-error-message-in-wp-admin/#post-17276653)
 * Hi [@jamisons](https://wordpress.org/support/users/jamisons/), I’m glad it worked!
   
   If you enjoy Solid Security and appreciate our free support, we’d love to get
   a kind review from you [here](https://wordpress.org/support/plugin/better-wp-security/reviews/).
   Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Cannot run Solid Security error message in WP Admin’ is closed to new
replies.

 * ![](https://ps.w.org/better-wp-security/assets/icon.svg?rev=3529351)
 * [Kadence Security – Password, Two Factor Authentication, and Brute Force Protection](https://wordpress.org/plugins/better-wp-security/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/better-wp-security/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/better-wp-security/)
 * [Active Topics](https://wordpress.org/support/plugin/better-wp-security/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/better-wp-security/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/better-wp-security/reviews/)

## Tags

 * [DB_CHARSET](https://wordpress.org/support/topic-tag/db_charset/)
 * [utf-8](https://wordpress.org/support/topic-tag/utf-8/)

 * 4 replies
 * 2 participants
 * Last reply from: [chandelierrr](https://wordpress.org/support/users/shanedelierrr/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/cannot-run-solid-security-error-message-in-wp-admin/#post-17276653)
 * Status: resolved