Database Errors When Updating from 2.5.3 to 2.5.5
-
I just updated my test store from 2.5.3 to 2.5.5. After the update, I found the following errors in my WP error log file.
WordPress database error Duplicate key name 'attribute_name' for query ALTER TABLE wp_woocommerce_attribute_taxonomies ADD KEY attribute_name (attribute_name(191)) WordPress database error Duplicate key name 'meta_key' for query ALTER TABLE wp_woocommerce_termmeta ADD KEY meta_key (meta_key(191)) WordPress database error Duplicate key name 'download_order_key_product' for query ALTER TABLE wp_woocommerce_downloadable_product_permissions ADD KEY download_order_key_product (product_id,order_id,order_key(191),download_id) WordPress database error Duplicate key name 'meta_key' for query ALTER TABLE wp_woocommerce_order_itemmeta ADD KEY meta_key (meta_key(191)) WordPress database error Duplicate key name 'tax_rate_country' for query ALTER TABLE wp_woocommerce_tax_rates ADD KEY tax_rate_country (tax_rate_country(191)) WordPress database error Duplicate key name 'tax_rate_state' for query ALTER TABLE wp_woocommerce_tax_rates ADD KEY tax_rate_state (tax_rate_state(191)) WordPress database error Duplicate key name 'tax_rate_class' for query ALTER TABLE wp_woocommerce_tax_rates ADD KEY tax_rate_class (tax_rate_class(191)) WordPress database error Duplicate key name 'location_type_code' for query ALTER TABLE wp_woocommerce_tax_rate_locations ADD KEY location_type_code (location_type(40),location_code(90))
My site seems to be working fine otherwise. It appears that the length of the keys were supposed to be changed, but were not due to the duplicate key errors.
I want to update my live store, but I’d like to avoid the above errors and/or fix them afterward. Should I just modify the key lengths myself via phpMyAdmin?
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Database Errors When Updating from 2.5.3 to 2.5.5’ is closed to new replies.