Home  >  Article  >  Database  >  How to implement navicat library replication

How to implement navicat library replication

angryTom
angryTomOriginal
2019-08-05 11:54:484066browse

How to implement navicat library replication

If navicat wants to replicate the database, it only needs to back up the database first, and then run the backed up sql file or restore the backup where it is needed. This achieves database replication. Let me introduce to you how to back up and restore the database.

Recommended tutorial: MySQL introductory video

Database backup

1. Open Navicat on the desktop or find Navicat for MySQL from the start program, as shown below:

How to implement navicat library replication

2. Right-click to back up database, select "Dump SQL File" -> "Structure and Files", as shown in the following figure:

How to implement navicat library replication

3. Pop up the save location of the SQL file, as follows As shown in the picture:

How to implement navicat library replication

4. After clicking Start, perform a local disk dump of the SQL file, as shown in the following picture:

How to implement navicat library replication

Database Recovery

1. Right-click our database server list and select "Run SQL File", as shown in the following figure:

How to implement navicat library replication

#2. In the pop-up Run SQL File dialog box, select the location of the SQL file, and then click "Start", as follows As shown in the picture:

How to implement navicat library replication

3. Until the restoration is completed, click Close, as shown in the following picture:

How to implement navicat library replication

The above is the detailed content of How to implement navicat library replication. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn