Last active
March 10, 2019 09:07
-
-
Save Dan0sz/5aa71a39212958174a446c5a46c01021 to your computer and use it in GitHub Desktop.
MySQL find and replace query
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 `table_name` | |
SET `column_name` = replace(column_name, 'olddomain.com', 'newdomain.com') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment