mysqldump --no-defaults -u root -p dbname > c:\www\test.sql windows 下使用。 转载于:https://www.cnblogs.com/chenshuo/p/4646070.html