Navicat how to back up MySQL database

Source: Internet
Author: User

Use software to back up MySQL database (take navicat as an example)

1) Open Navicat---connection---Mysql
2) Fill in the MySQL database connection information

3) Back up the MySQL database file
Double-click to open the created connection---Select the database---Right click---select "Dump SQL file" to export the database to a. sql file

4) Restore MySQL database files
Double-click to open the created connection---Select the database---Right click---select "Run SQL file"
Specifies that the database backup file is encoded with the backup file, and the default selected encoding is 65001 (UTF-8). The GBK code is 936 (Simplified Chinese GBK). The encoding chosen here needs to be the same as the. sql file encoding, otherwise an error occurs.
If the progress bar displays complete and there is no prompt error, the import is successful. Click "Table", press F5 Refresh to see the content after the import

Attention:
Using a client to remotely connect to a MySQL database often prompts you:
ERROR 1129 (00000): Host ' xxx.xxx.xxx.xxx ' is blocked because of many connection errors; Unblock with ' mysqladmin flush-hosts '
This means that there are too many connection errors between the IP and MySQL, which is blocked by MySQL. Default MySQL masks the client IP when there are 10 connection errors.
You need to log in to the server, run
Mysqladmin-u User name-p password flush-hosts
You can connect after you clear the mask.

Above content by the shuttle cat connected cat www.suomao.com in 51CTO blog debut, forwarding please keep the site, thank you!!


This article is from the "Shuttle Cat Interconnection-Kitten" blog, please be sure to keep this source http://suomao.blog.51cto.com/9868774/1608543

Navicat how to back up MySQL database

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.