导入:
mysql -uroot -pyourpassword yourdatabasename < /home/admin/yoursqlfile.sql
导出:
mysqldump -uroot -pyourpassword –extended-insert=false –lock-all-tables yourdatabasename > /home/admin/yoursqlfile.sql
导入:
mysql -uroot -pyourpassword yourdatabasename < /home/admin/yoursqlfile.sql
导出:
mysqldump -uroot -pyourpassword –extended-insert=false –lock-all-tables yourdatabasename > /home/admin/yoursqlfile.sql