Created
April 23, 2012 16:09
-
-
Save reinink/2471957 to your computer and use it in GitHub Desktop.
Search and replace within a MySQL database
This file contains 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
UPDATE TableName set FieldName = replace(FieldName, 'find string', 'replace string') |
Or use one of these plugins:
https://wordpress.org/plugins/go-live-update-urls/
https://wordpress.org/plugins/velvet-blues-update-urls/
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For example, to update a website address in WordPress, do this: