Title: Problem Error Lines when installing Ithemes Security plugin..
Last modified: March 29, 2021

---

# Problem Error Lines when installing Ithemes Security plugin..

 *  [dani99](https://wordpress.org/support/users/dani99/)
 * (@dani99)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problem-error-lines-when-installing-ithemes-security-plugin/)
 * Hi all, I have uninstalled Wordfence to try Ithemes security plugin instead, 
   but after installing Ithemes (without any trouble), when I tried to activate 
   the plugin, then I had a bunch of error lines about “Itsec Tables errors” MariaDB
   and MySQL database etc… And I can’t manage to understand it all and fix it ..
   
   Any idea ? Thank you.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-error-lines-when-installing-ithemes-security-plugin%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [nlpro](https://wordpress.org/support/users/nlpro/)
 * (@nlpro)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/problem-error-lines-when-installing-ithemes-security-plugin/#post-14252728)
 * It seems to be failing on the CHARSET/COLLATE when attempting to create the 10
   plugin tables.
 * ‘8859’ may not be a valid CHARSET.
 * Valid CHARSET is for example ‘utf8mb4’. COLLATE is usually empty.
 * Check for the lines below in the WordPress wp-config.php file:
 *     ```
       /** Database Charset to use in creating database tables. */
       define( 'DB_CHARSET', 'utf8mb4' );
   
       /** The Database Collate type. Don't change this if in doubt. */
       define( 'DB_COLLATE', '' );
       ```
   
 *  Thread Starter [dani99](https://wordpress.org/support/users/dani99/)
 * (@dani99)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/problem-error-lines-when-installing-ithemes-security-plugin/#post-14257190)
 * Hello nlpro, you mean I must add this 2 lines to my wp_config and it should be
   fine?
    Thanks for helping, I really appreciate!
 *  [nlpro](https://wordpress.org/support/users/nlpro/)
 * (@nlpro)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/problem-error-lines-when-installing-ithemes-security-plugin/#post-14257736)
 * Hi,
 * If those lines are currently missing in the wp-config.php file, that may explain
   why WordPress is currently using a non standard CHARSET (8859) when attempting
   to create new tables in the database.
 * However changing the CHARSET may have unwanted effects for data stored in the
   database ! So caution is advised.
 * Probably best to log into the database with for example a tool like phpMyAdmin
   and then check the CHARSET for the existing tables.
 * If the existing tables use for example **utf8** then replace **utf8mb4** with**
   utf8** in the example wp-config.php lines and add them to your wp-config.php 
   file.
 * It makes sense to use the same CHARSET for all tables 😉

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

The topic ‘Problem Error Lines when installing Ithemes Security plugin..’ 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

 * [errors](https://wordpress.org/support/topic-tag/errors/)
 * [iThemes Security](https://wordpress.org/support/topic-tag/ithemes-security/)
 * [tables](https://wordpress.org/support/topic-tag/tables/)

 * 3 replies
 * 2 participants
 * Last reply from: [nlpro](https://wordpress.org/support/users/nlpro/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/problem-error-lines-when-installing-ithemes-security-plugin/#post-14257736)
 * Status: not resolved