如何快速备份/恢复mysql数据库中的数据?
mysqldump
command line is the quickest to backup ,
(use mysql command line to restore , mysql -u #username# -p #database# < #dump_file#
)
look on this examples
Following will backup and restore db at same time.
mysqldump -h #host -u #username -p #password --routines #source_dbname | mysql -h #host -u #user -p #password #destination_dbname
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.