November 5, 2015
命令行导出和导入数据库 How to export and import MySQL database using command line Interface
导出 :
To export MySQL database, open putty on Windows or Terminal in either MAC or Linux OS, Go to the directory where you want this file to be stored using following command,
cd /home/myfiles/
Then use below command to export a databse,
mysqldump --database --user=root --password your_db_name > export_into_db.sql
You will be asked about root password… Read