Export the database using MySQL WorkBench

1. Double-click the database you want to connect to in MySQL WorkBench.

 

2. Click Data Export on the left, and select the database to be exported in the database list on the right;

 

3. Export to Dump Project Folder is to export a .sql file for each table, Export to Self-Contained File is to export a .sql file for the entire database, here select Export to Self-Contained File, select the .sql file save path, the following also Whether to export stored procedures, whether to ignore data and other options;

 

4. Click the Start Export button to export the database;

 

5. Open the exported .sql file, and it can be seen that the entire database has been exported.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326422080&siteId=291194637