1、只导出某表的部分数据 mysqldump -uuser -ppassword dbname tablename --where=" condition" > outfile.sql 2、不导出数据 使用-d参数