Backup and restore of MySQL data

Source: Internet
Author: User

Backup Db_book: here to use the CMD, run as Administrator, or later use mysqldump will be denied access!!!

1. Start cmd, enter the command, switch to the MySQL bin file:

2. Then enter the backup command:

Backup Good SQL library:

The other is to use software backup method:

Select Export to Desktop or other location:

Click Export to complete the backup:

The second method of software backup is generally recommended, which is simple and efficient.

Export tables: How to use the software.

Export format and save location selection:

Click Export to finish:

Double-click to open, see:

Next is the data restore:

It is recommended to use the graphical interface to restore, the command is more cumbersome:

Assuming that T_book was deleted by you, now you want to restore it, the steps are as follows:

Select the files you want to restore:

Click Execute: The library is imported here.

T_book has been restored back again.

Backup and restore of MySQL data

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.