HeidiSQL tool to export and import MySQL data

HeidiSQL tool to export and import MySQL data

Sometimes, in order to facilitate the export and import of data into SQL, we can use certain tools to facilitate the transplantation of our team database, which can achieve twice the result with half the effort. Here, I will briefly introduce a tool that can easily export or import MySQL data.

①First, select the database you want to export and right-click: as shown below

②Here you can select and export the contents of a database you want to export.

③ The meaning of each option during the operation

For the parameters of the above options, here is an explanation

No Date: Do not export data, only the data table structure
Delete+Insert(……): Clear the data table content and insert the exported new content
Insert: insert only new content
Insert Ignore: Ignore errors when inserting data
Repalce: Replace Insert

One big file: Export a SQL file
Diretcoty...: Each table is a separate file, stored in a specific folder
Clipboard: Export to the clipboard
Database: Import into another database
Server: Import to another server

The database(s) and table(s) above have two options, "Drop" and "Create". If checked, the generated SQL statement will contain statements for deleting and creating databases or data tables. Usually we check them.
Here we export the data we want to export by selecting "Output".

④Select the path you want to save and click Export to export the data

Result data exported successfully

2. Now let's explain how to import data. For example, we have a script file called emp.sql. Here we use HeidiSQL to import data.

① Now let me explain the specific operation process

Select the SQL script you want to execute, click Data Import, and everything will be successful.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • Why is there such a big difference between Oracle and MySQL data import?
  • Quickly solve the problems of incorrect format, slow import and data loss when importing data from MySQL
  • MySQL 4 methods to import data
  • Examples of importing and exporting MySQL table data
  • MySQL database account creation, authorization, data export and import operation examples
  • Java implements batch import of .csv files into mysql database
  • How to import Excel files into MySQL database
  • Navicat imports csv data into mysql
  • MySQL database migration quickly exports and imports large amounts of data
  • How to quickly import data into MySQL

<<:  Tutorial on installing Ubuntu 1804 in VMware Workstation 15 Pro (with pictures and text)

>>:  The linkage method between menu and tab of vue+iview

Recommend

Web front-end skills summary (personal practical experience)

1. Today, when I was making a page, I encountered ...

Website background music implementation method

For individual webmasters, how to make their websi...

Detailed explanation of Vue filter implementation and application scenarios

1. Brief Introduction Vue.js allows you to define...

Implementation of one-click TLS encryption for docker remote api

Table of contents 1. Change the 2375 port of Dock...

CSS code to distinguish ie8/ie9/ie10/ie11 chrome firefox

Website compatibility debugging is really annoyin...

MySQL SQL statement analysis and query optimization detailed explanation

How to obtain SQL statements with performance iss...

Tutorial on installing VMWare15.5 under Linux

To install VMWare under Linux, you need to downlo...

Ubuntu 16.04 64-bit compatible with 32-bit programs in three steps

Step 1: Confirm the architecture of your system d...

Mysql keeps the existing content and adds content later

This command modifies the data table ff_vod and a...

How to delete node_modules and reinstall

Table of contents Step 1: Install node_modules in...

Full analysis of MySQL INT type

Preface: Integer is one of the most commonly used...

Native JS to implement login box email prompt

This article shares a native JS implementation of...

How to move mysql5.7.19 data storage location in Centos7

Scenario: As the amount of data increases, the di...

Simple example of HTML checkbox and radio style beautification

Simple example of HTML checkbox and radio style b...