Created
June 14, 2014 20:36
-
-
Save scrobbleme/5c09558111b83524cfa6 to your computer and use it in GitHub Desktop.
Fix WordPress table prefix within the database
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Source: http://wordpress.org/support/topic/changed-table-prefix-got-insufficient-permissions-error#post-713055 | |
UPDATE new_usermeta | |
SET meta_key = REPLACE(meta_key,'old_','new_'); | |
UPDATE new_options | |
SET option_name = REPLACE(option_name,'old_','new_'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment