Skip to content

Instantly share code, notes, and snippets.

@nghiahsgs
Created December 6, 2020 00:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nghiahsgs/302d7463eb8b8bfb519cc4af873a66b5 to your computer and use it in GitHub Desktop.
Save nghiahsgs/302d7463eb8b8bfb519cc4af873a66b5 to your computer and use it in GitHub Desktop.
UPDATE
`wp_posts`
SET
`post_content` = REPLACE(`post_content`, 'http://localhost/thuthuat','http://localhost/thuthuat2')
WHERE
`post_content`!=''
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment