例如:数据库名称test,我现在需要将test备份,但是不需要备份test中的A,B,C表
mysqldump -u username -ppassword --opt -R test --ignore-table=test.A --ignore-table=test.B --ignore-table=test.C > test.sql
转载于:https://blog.51cto.com/308107405/1658452
例如:数据库名称test,我现在需要将test备份,但是不需要备份test中的A,B,C表
mysqldump -u username -ppassword --opt -R test --ignore-table=test.A --ignore-table=test.B --ignore-table=test.C > test.sql
转载于:https://blog.51cto.com/308107405/1658452