Home > Database > Mysql Tutorial > body text

SQL database import and export step tutorial (picture)

迷茫
Release: 2017-04-07 14:58:24
Original
6474 people have browsed it

Generating and executing MYSQL database scripts are two mutually reverse operations. This sentence may be a bit difficult to understand. In layman's terms, generation is export, and execution is import. Let's take a look at how the MySQL database imports and exports data tables.

Export of sql database

SQL database import and export step tutorial (picture)

##Click to execute

SQL database import and export step tutorial (picture)

Then you can generate a .sql file

Import of sql database

Let’s take a look at how to import. sql file, we first delete the admin table of the database study, so that there is no data in the database.

SQL database import and export step tutorial (picture)

As shown in the picture above, there are no tables in our database. Then look at the above, there is import, click import, we will see a page like this, as shown in the picture below:

SQL database import and export step tutorial (picture)

We can see a button to select a file. We can just select the .sql file and then execute it,

SQL database import and export step tutorial (picture)

SQL database import and export step tutorial (picture)

In this way we successfully imported the sql file into the database study

The above is the detailed content of SQL database import and export step tutorial (picture). For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact [email protected]
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!