Title: table creation failed
Last modified: August 5, 2020

---

# table creation failed

 *  [lastfabio](https://wordpress.org/support/users/lastfabio/)
 * (@lastfabio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/)
 * I have updated woocommerce to the last release, but I’ve got an issue with the
   db.
    I can’t create table into the db, I receive this error “table creation failed”“
   Does the *ADMIN* user have CREATE privileges on the *ADMIN* database?” I checked
   the status of woocommerce and there are errors in some tables, I see that the
   prefix is “IgI_” but the old and working table have prefix “igi_”. I have changed
   nothing, but it looks like the prefix now has some capital letters, is this the
   problem? how can I fix it?
 * Fabio

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

 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13212298)
 * Hi there,
 * It sounds like the database user (configured on the server side) doesn’t have
   the correct privileges *and* that the prefixes were changed. To remedy that, 
   you’d need to get in touch with the website hosting provider as it’s not something
   that can be addressed from within the WordPress admin area.
 *  Thread Starter [lastfabio](https://wordpress.org/support/users/lastfabio/)
 * (@lastfabio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13212616)
 * Thanks for your answer, is it possible to attach a screenshot to explain the 
   issue?
 *  Plugin Support [Riaan K.](https://wordpress.org/support/users/riaanknoetze/)
 * (@riaanknoetze)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13213099)
 * Attaching screenshot isn’t possible on the forum thread directly, although you
   could upload them to an image hosting solution like Dropbox, Imgur, Google Drive
   or snipboard.io and then share the direct links here.
 *  Thread Starter [lastfabio](https://wordpress.org/support/users/lastfabio/)
 * (@lastfabio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13214223)
 * This is the error:
    [https://www.dropbox.com/s/vnnjcwnxwq1ozke/ss_3.jpg?dl=0](https://www.dropbox.com/s/vnnjcwnxwq1ozke/ss_3.jpg?dl=0)
 * This is the status of woocommerce:
    [https://www.dropbox.com/s/8cj7jmca8kmzowm/ss_1.png?dl=0](https://www.dropbox.com/s/8cj7jmca8kmzowm/ss_1.png?dl=0)
   [https://www.dropbox.com/s/z8bxbid0pmrgjf7/ss_2.png?dl=0](https://www.dropbox.com/s/z8bxbid0pmrgjf7/ss_2.png?dl=0)
 * As you can see there is a problem as the tables with prefix IgI_ don’t exist,
   and I can’t create them. But old tables with prefix igi_ have no problem. Something
   has happened with the last update of woocommerce as I have never changed the 
   prefix neither the privileges on DB.
 * regards
 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13218964)
 * Hi there,
 * > I have changed nothing, but it looks like the prefix now has some capital letters,
   > is this the problem? how can I fix it?
 * Yes, I see what you mean. In general the prefix must be the same on all tables.
   I would try and fix this manually.
 * But looking at the table mish mash, I would also actually fetch a backup, revert
   and start again. It looks like something elemental went wrong here.
    Do you have
   a backup handy that you can use to rollback?
 * Kind regards,
 *  Thread Starter [lastfabio](https://wordpress.org/support/users/lastfabio/)
 * (@lastfabio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13219415)
 * Hi, unluckily I have no backup. When you say to fix it manually, do you mean 
   to change the prefix from Igi_ to the original igi_? If you mean that, should
   I just edit wp-config.php?
 * thanks for the support
 *  [con](https://wordpress.org/support/users/conschneider/)
 * (@conschneider)
 * Engineer
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13222061)
 * Hi there,
 * > Hi, unluckily I have no backup.
 * Your hosting provider might have one for you.
 * > When you say to fix it manually, do you mean to change the prefix from Igi_
   to the original igi_?
 * Yes. A web developer who has experience with the database structure can help 
   you take a look at the current data.
 * > If you mean that, should I just edit wp-config.php?
 * That depends. Someone has to check the database structure with you. I think you
   will need MySQL / PHPmyAdmin to edit the database directly. Also take a database
   backup beforehand: [https://help.one.com/hc/en-us/articles/360002107438-Change-the-table-prefix-for-WordPress-](https://help.one.com/hc/en-us/articles/360002107438-Change-the-table-prefix-for-WordPress-)
 * Kind regards,
 *  Thread Starter [lastfabio](https://wordpress.org/support/users/lastfabio/)
 * (@lastfabio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13229396)
 * Hi, I followed the instructions, but now I have this issue:
 * “Sorry, you are not allowed to access this page.”
 * And I can’t access to the backend.
 *  Thread Starter [lastfabio](https://wordpress.org/support/users/lastfabio/)
 * (@lastfabio)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13229443)
 * I have read that many other users have this problem “WooCommerce reserved_stock
   table creation failed” but I can’t understand what causes it.

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

The topic ‘table creation failed’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [db](https://wordpress.org/support/topic-tag/db/)
 * [prefix](https://wordpress.org/support/topic-tag/prefix/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 9 replies
 * 3 participants
 * Last reply from: [lastfabio](https://wordpress.org/support/users/lastfabio/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/table-creation-failed/#post-13229443)
 * Status: not resolved