mysql 常用命令 导入: mysql -uroot -p test < example.sql 导出:mysqldump -h localhost -u root -p mydb >e:mysqlmydb.sql