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

Steps to deploy multiple tomcat services using DockerFile on Docker container

1. [admin@JD ~]$ cd opt #Enter opt in the root di...

Why developers must understand database locks in detail

1.Lock? 1.1 What is a lock? The real meaning of a...

Detailed explanation of Linux lsof command usage

lsof (list open files) is a tool to view files op...

Teach you how to quickly install Nginx in CentOS7

Table of contents 1. Overview 2. Download the Ngi...

Summary of the Differences between find() and filter() Methods in JavaScript

Table of contents Preface JavaScript find() Metho...

How to remove the underline of a hyperlink using three simple examples

To remove the underline of a hyperlink, you need t...

How to quickly import data into MySQL

Preface: In daily study and work, we often encoun...

Interactive experience trends that will become mainstream in 2015-2016

The most important interactive design article in ...

Tutorial diagram of using Jenkins for automated deployment under Windows

Today we will talk about how to use Jenkins+power...

jquery+springboot realizes file upload function

This article example shares the specific code of ...

Using jQuery to implement the carousel effect

What I bring to you today is to use jQuery to imp...

Solution for Nginx installation without generating sbin directory

Error description: 1. After installing Nginx (1.1...