备份
mysqldump -h localhost -uroot -p123456 springbootdb > e:/springbootdb.sql
还原
mysql -h localhost -uroot -p123456 springbootdb < e:/springbootdb.sql
备份
mysqldump -h localhost -uroot -p123456 springbootdb > e:/springbootdb.sql
还原
mysql -h localhost -uroot -p123456 springbootdb < e:/springbootdb.sql
转载于:https://www.cnblogs.com/last-xy/p/10751289.html