Title: Woocommerce database error after WP Update
Last modified: September 1, 2016

---

# Woocommerce database error after WP Update

 *  [soheilwp](https://wordpress.org/support/users/soheilwp/)
 * (@soheilwp)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-database-error-after-wp-update/)
 * Hi,
 * i am getting this error after the latest update from hosteurope. Unfortunately
   i am not very skilled in programming and I don’t know what I have to do to fix
   this. Would be great if anybody can help me and have a look at the error message
   to find out what i have to do.
 * If needed: Server-Info: Apache
    PHP-Version: 5.6.24-he.0
 * Thank you in advance!
 * Error Log:
 * [Fri Aug 12 18:13:26 2016] [-:error] [pid 25738] [client 80.108.229.111:49670][
   host [http://www.shopgesund.at]](http://www.shopgesund.at]) WordPress-Datenbank-
   Fehler Duplicate key name ‘attribute_name’ fxc3xbcr Abfrage ALTER TABLE wp_woocommerce_attribute_taxonomies
   ADD KEY attribute_name (attribute_name(191)) von require_once(‘wp-load.php’),
   require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’),
   call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::
   create_tables, dbDelta
    [Fri Aug 12 18:13:26 2016] [-:error] [pid 25738] [client
   80.108.229.111:49670] [host [http://www.shopgesund.at]](http://www.shopgesund.at])
   WordPress-Datenbank-Fehler Duplicate key name ‘download_order_key_product’ fxc3xbcr
   Abfrage ALTER TABLE wp_woocommerce_downloadable_product_permissions ADD KEY download_order_key_product(
   product_id,order_id,order_key(191),download_id) von require_once(‘wp-load.php’),
   require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’),
   call_user_func_array, WC_Install::check_version, WC_Install::install, WC_Install::
   create_tables, dbDelta [Fri Aug 12 18:13:26 2016] [-:error] [pid 25738] [client
   80.108.229.111:49670] [host [http://www.shopgesund.at]](http://www.shopgesund.at])
   WordPress-Datenbank-Fehler Duplicate key name ‘meta_key’ fxc3xbcr Abfrage ALTER
   TABLE wp_woocommerce_order_itemmeta ADD KEY meta_key (meta_key(191)) von require_once(‘
   wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’),
   do_action(‘init’), call_user_func_array, WC_Install::check_version, WC_Install::
   install, WC_Install::create_tables, dbDelta [Fri Aug 12 18:13:26 2016] [-:error][
   pid 25738] [client 80.108.229.111:49670] [host [http://www.shopgesund.at]](http://www.shopgesund.at])
   WordPress-Datenbank-Fehler Duplicate key name ‘tax_rate_country’ fxc3xbcr Abfrage
   ALTER TABLE wp_woocommerce_tax_rates ADD KEY tax_rate_country (tax_rate_country(
   191)) von require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘
   wp-settings.php’), do_action(‘init’), call_user_func_array, WC_Install::check_version,
   WC_Install::install, WC_Install::create_tables, dbDelta [Fri Aug 12 18:13:26 
   2016] [-:error] [pid 25738] [client 80.108.229.111:49670] [host [http://www.shopgesund.at]](http://www.shopgesund.at])
   WordPress-Datenbank-Fehler Duplicate key name ‘tax_rate_state’ fxc3xbcr Abfrage
   ALTER TABLE wp_woocommerce_tax_rates ADD KEY tax_rate_state (tax_rate_state(191))
   von require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘
   wp-settings.php’), do_action(‘init’), call_user_func_array, WC_Install::check_version,
   WC_Install::install, WC_Install::create_tables, dbDelta [Fri Aug 12 18:13:26 
   2016] [-:error] [pid 25738] [client 80.108.229.111:49670] [host [http://www.shopgesund.at]](http://www.shopgesund.at])
   WordPress-Datenbank-Fehler Duplicate key name ‘tax_rate_class’ fxc3xbcr Abfrage
   ALTER TABLE wp_woocommerce_tax_rates ADD KEY tax_rate_class (tax_rate_class(191))
   von require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘
   wp-settings.php’), do_action(‘init’), call_user_func_array, WC_Install::check_version,
   WC_Install::install, WC_Install::create_tables, dbDelta [Fri Aug 12 18:13:26 
   2016] [-:error] [pid 25738] [client 80.108.229.111:49670] [host [http://www.shopgesund.at]](http://www.shopgesund.at])
   WordPress-Datenbank-Fehler Duplicate key name ‘location_type_code’ fxc3xbcr Abfrage
   ALTER TABLE wp_woocommerce_tax_rate_locations ADD KEY location_type_code (location_type(
   40),location_code(90)) von require_once(‘wp-load.php’), require_once(‘wp-config.
   php’), require_once(‘wp-settings.php’), do_action(‘init’), call_user_func_array,
   WC_Install::check_version, WC_Install::install, WC_Install::create_tables, dbDelta

The topic ‘Woocommerce database error after WP Update’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [soheilwp](https://wordpress.org/support/users/soheilwp/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/woocommerce-database-error-after-wp-update/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
