1. cd d:mysqlin #cd 到 mysql 的 bin 目录下 2. mysql -u root -p mysql_db_name < d:mysqldataackupfilename.sql --default-character-set=utf8 # 回车后输入密码便开始导入了
导出:
1. cd d:mysqlin # cd 到 mysql 的 bin 目录下 2. mysqldump -u root -p mysql_db_name > d:mysqldataackupfilename.sql # 回车后输入密码便开始导出了