Server migration is complete, thank you for your support!
————————————————————–
The server is migrating
Your account registration, comments and other operations may not be saved
Please wait patiently for the migration to complete.
————————————————————–
Notes on server migration:
Take Tencent Cloud as an example, make a server image, copy the image across regions, and then use the image to restore to the new server.
Sign in Old server , export wordpress_db (required database) from the cloud database xxx. xx. xx. x (intranet IP). If it is a local database, use localhost.
mysqldump -h xxx.xx.xx.x -uroot -p wordpress_db --set-gtid-purged=off > wordpress_db_201906132231.sql
Download the database from the user directory/root and upload it to the new server user directory/root
Sign in New Server , delete New cloud database Wordpress_db in (if any):
mysql -h xxx.xx.xx.x -u root -p drop database wordpress_db;
Create database:
create database wordpress_db;
Database import
mysql -h xxx.xx.xx.x -u root -p wordpress_db< wordpress_db_201906132231.sql
Modify/* * MySQL hostname in the WordPress configuration file wp-config.php*/
After that, modify all the resolution addresses of the domain name, wait for the resolution to be updated gradually, and the migration operation is completed.