'MySQL Update Command for WordPress DataBase
I've a WordPress DB on a "POC" site (Proof of concept) On this DB, I've some strings that are specific to this site :
- URL = poc.test.com
- Path = /home/user/sites/poc
I want to copy this DB on the prod DB where this strings change:
- URL = test.com
- Path = /home/user/public_html
How I can update all tables (users, post, post_meta, ...) with mysql update command?
Table names may vary depending on the site
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
