Title: iThemes Security setup error
Last modified: April 16, 2020

---

# iThemes Security setup error

 *  Resolved [AliBK](https://wordpress.org/support/users/alibk/)
 * (@alibk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/)
 * I have a similar problem to this user, but with a different database issue: [https://wordpress.org/support/topic/cannot-run-ithemes-security-error-message/](https://wordpress.org/support/topic/cannot-run-ithemes-security-error-message/)
 * I’m getting this warning (slightly anonymised):
 *     ```
       Cannot run iThemes Security. Error encountered during setup. Please try deactivating and reactivating iThemes Security. Contact support if the error persists.
   
       CREATE command denied to user '[my user unfo]' for table '[tablename]_itsec_opaque_tokens'
       CREATE command denied to user '[my user unfo]' for table '[tablename]_itsec_user_groups'
       CREATE command denied to user '[my user unfo]' for table '[tablename]_itsec_mutexes'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_logs'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_lockouts'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_lockouts'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_lockouts'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_temp'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_temp'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_distributed_storage'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_distributed_storage'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_geolocation_cache'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_geolocation_cache'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_fingerprints'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_fingerprints'
       ALTER command denied to user '[my user unfo]' for table '[tablename]_itsec_fingerprints'
       The itsec_opaque_tokens table is not installed.
       The itsec_user_groups table is not installed.
       The itsec_mutexes table is not installed.
       ```
   

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

 *  Plugin Contributor [Timothy Jacobs](https://wordpress.org/support/users/timothyblynjacobs/)
 * (@timothyblynjacobs)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12684810)
 * Hello [@alibk](https://wordpress.org/support/users/alibk/),
 * As mentioned in the other issue, the latest version of iThemes Security includes
   a database upgrade, as part of that upgrade routine, iThemes Security checks 
   that the upgrade went without errors.
 * It looks like your database user doesn’t have `CREATE` and `ALTER` privileges.
   This means that iThemes Security cannot setup the necessary tables to work properly.
 * You’ll need to grant those privileges to your database user. For example:
 * `GRANT CREATE, alter ON database_name.* TO 'database_user'@'localhost';`
 * Your host may be able to help with this.
    -  This reply was modified 6 years, 1 month ago by [Timothy Jacobs](https://wordpress.org/support/users/timothyblynjacobs/).
 *  [SUISSAC](https://wordpress.org/support/users/suissac/)
 * (@suissac)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12693274)
 * Hello,
    I have a similar problem: Cannot run iThemes Security. Error encountered
   during setup. Please try deactivating and reactivating iThemes Security. Contact
   support if the error persists.
 *  Incorrect table name ‘*_itsec_distributed_storage’
    Incorrect table name ‘*_itsec_geolocation_cache’
   Incorrect table name ‘*_itsec_opaque_tokens’ The itsec_distributed_storage table
   is not installed. The itsec_geolocation_cache table is not installed. The itsec_opaque_tokens
   table is not installed.
 * What can i do to fix it?
 * Thanks!
 *  Thread Starter [AliBK](https://wordpress.org/support/users/alibk/)
 * (@alibk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12693350)
 * The solution posted by [@timothyblynjacobs](https://wordpress.org/support/users/timothyblynjacobs/)
   worked for me – though I did it through my site’s control panel.
 * Thanks Timothy. Can you tell me if the plugin requires those privileges at all
   times, or just when updating? Could I remove them and expect the plugin to keep
   functioning until the next update?
 *  [SUISSAC](https://wordpress.org/support/users/suissac/)
 * (@suissac)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12693693)
 * My database user have CREATE and ALTER privileges (i checked on cpanel control
   panel).
 *  Plugin Contributor [Timothy Jacobs](https://wordpress.org/support/users/timothyblynjacobs/)
 * (@timothyblynjacobs)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12698838)
 * Glad to hear it [@alibk](https://wordpress.org/support/users/alibk/)! The plugin
   only needs those privileges during updates.
 * [@suissac](https://wordpress.org/support/users/suissac/) could you open a separate
   Support Topic? The actual error you are experiencing is different from [@alibk](https://wordpress.org/support/users/alibk/).
 * Thanks!
 *  [SUISSAC](https://wordpress.org/support/users/suissac/)
 * (@suissac)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12700250)
 * I opened a separate Support topic.
    Thank you!
 *  Thread Starter [AliBK](https://wordpress.org/support/users/alibk/)
 * (@alibk)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12701040)
 * Thanks for the info, Timothy!

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

The topic ‘iThemes Security setup error’ 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/)

 * 7 replies
 * 3 participants
 * Last reply from: [AliBK](https://wordpress.org/support/users/alibk/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/ithemes-security-setup-error/#post-12701040)
 * Status: resolved