MySQL WorkBench data import and export

Data output

  In Navigate on the left, click Administration → Data Export in the lower left corner to
Insert picture description here
  select the database to be exported. It is
Insert picture description here
  recommended to select Export to Self-Contained File, so that the data can be imported into other relational databases.
Insert picture description here

data import

Tool import

  Click
Insert picture description here
  the upper one selected when exporting Data Import/Restore , and also select the upper one when importing; if it is a SQL file, select the lower one, and then click again.
Insert picture description here  The drop-down box is to select which database needs to be imported, if you want to re-create a database to accept data, click New.

Import using SQL statements

  Open the SQL file, add one at the beginning of the SQL file, use 数据库名and click to run the SQL statement.
Insert picture description here

Guess you like

Origin blog.csdn.net/qq_40395874/article/details/114538808
Recommended