Use SQLyog to export and import MySQL database

Export the database :

Open SQLyog—>Right click on the database you want to export—>Select "Backup/Export"—>Select "Backup Database As SQL Dump" to pop up a dialog box—>Select "Structure and data" and save location—>Finally click on "Export" "

Import the database :

Open SQLyog —> click "Database" in the menu bar —> select "Import" —> select "Restore From SQL Dump" —> select the previously backed up database point and click "Execute".

Tip: When MySQL 5.5.27 is importing into the database, the import task may be interrupted abnormally due to too many column fields in some tables or too large amount of exported data. However, MySQL 8.0.23 has obvious processing capabilities when handling these tasks. Much stronger, I haven't encountered these situations yet

Guess you like

Origin blog.csdn.net/y_bccl27/article/details/114692589