Created
April 3, 2019 21:11
-
-
Save jonathanstegall/fdb85076664f2c0de9c76e7bd759ac83 to your computer and use it in GitHub Desktop.
migrate from VIP to local environment
This file contains hidden or 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
| // first, run cat ~/Desktop/sql/*.sql | mysql -u root -p minnpost.wordpress in terminal | |
| DELETE FROM wp_options WHERE option_name = 'jetpack_options'; | |
| UPDATE wp_options SET option_value = 'https://minnpost-wordpress.test' WHERE option_name = 'siteurl'; | |
| UPDATE wp_options SET option_value = 'https://minnpost-wordpress.test' WHERE option_name = 'home'; |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Also can run
cat ~/Desktop/sql/*.sql > ~/Desktop/sql/all_files.sql