📅  最后修改于: 2022-03-11 14:50:32.448000             🧑  作者: Mango
# export mysql
mysqldump -h localhost -u username -p dbname > filename.sql
# restore / import mysql
mysqldump -h localhost -u username -p dbname < filename.sql