mysqldump -h127.0.0.1 -P3306 -uroot -proot --add-locks -q 數(shù)據(jù)庫名?> 文件路徑
如mysqldump -h127.0.0.1 -P3306 -uroot -proot --add-locks -q db_example > D:/db_example.sql
mysqldump -h127.0.0.1 -P3306 -uroot -proot --add-locks -q 數(shù)據(jù)庫名?> 文件路徑
如mysqldump -h127.0.0.1 -P3306 -uroot -proot --add-locks -q db_example > D:/db_example.sql