Skip to content

Instantly share code, notes, and snippets.

@lmeyer
Created November 21, 2012 16:24
Show Gist options
  • Save lmeyer/4125820 to your computer and use it in GitHub Desktop.
Save lmeyer/4125820 to your computer and use it in GitHub Desktop.
Replace in mysql
UPDATE `wp_24_posts` SET `guid` = REPLACE(`guid`, "http://olddomain.com/", "http://newdomain.com/")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment