/MySQL_database_migrate

In linux, migrate the database to a new place

Primary LanguagePython

Linux MySQL database migrate

The program is aim at migrate MySQL database to a new destination( instead of /var/mysql/mysql) at Linux environment.

Example
sudo python3 MySQL_migrate.py destination_place

Here I replace destination_place with /home/nanyu/.mysql.

image-20210111112335857

Then after finish, the new data folder will like below:

image-20210111112404005

Any problems please email me at: zheng.nan.yu@qq.com