创建

CREATE DATABASE `test` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

备份

mysqldump -u username -p --database test > test.sql

还原

mysql -u username -p
> source /path/to/zqxt.sql

已注销
981 声望48 粉丝

Focus on programming efficiency