📜  带有 cli 的 dum mysql db - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:50:32.448000             🧑  作者: Mango

代码示例1
# export mysql
mysqldump -h localhost -u username -p dbname > filename.sql


# restore / import mysql
mysqldump -h localhost -u username -p dbname < filename.sql