linux在数据库中备份sql语句 mysqldump -uroot -proot 库名 表名 >(路径)表名.sql linux在数据库中执行sql语句 mysql -uroot -proot -D库名 <(路径)表名.sql