Skip to content

Instantly share code, notes, and snippets.

@laverboy
Last active August 29, 2015 14:02
Show Gist options
  • Save laverboy/b86485e1806d3cba6a8f to your computer and use it in GitHub Desktop.
Save laverboy/b86485e1806d3cba6a8f to your computer and use it in GitHub Desktop.
Update Wordpress with new server name in sql
update table_name set option_value = replace(option_value,"oldurl.com","newurl.com");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment