Options table both revert and convert, and syntax error
-
My wo_options table is present both in revet key and convert key, and when i try to either convert or revert using the plugin page or wp-cli i get the following error,
“You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘UNIQUE, DROP KEY INDEX”
So I did a –dry-run and found the Query and Put it on my workbench still the same error.
ALTER TABLE wp_options ADD UNIQUE KEY option_name (option_name), DROP KEY option_id, DROP KEY UNIQUE, DROP KEY INDEX;
the error goes if i remove “DROP KEY UNIQUE, DROP KEY INDEX” from the query.
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘Options table both revert and convert, and syntax error’ is closed to new replies.