search
HomeOperation and MaintenancephpstudyHow to export database in phpstudy

How to export database in phpstudy

Oct 21, 2019 am 10:29 AM
phpstudyExportdatabase

How to export database in phpstudy

phpstudyHow to export the database

For a system, data is a very important part. The process of system deployment or environment migration is often accompanied by the import and export of data. phpStudy also comes with data import and export functions. The export and export function can be found in the main interface.

How to export database in phpstudy

1. In order to demonstrate import and export, we first create a database: phpstudy, create a table: user, and insert two pieces of dataHow to export database in phpstudy

2. Open phpStudy-》Mysql Manager-》Mysql import and export

Enter password: root, backup database: phpstudy, click export

Since there was relatively little data, it was successful immediately and the path to the export file was automatically opened.

Open the export file and you can see that it contains the sql statement to create the database.

How to export database in phpstudy

How to export database in phpstudy

How to export database in phpstudy

3. In order to verify the import function, we can put the Data is cleared. It can be seen from the picture that there is no table in the database.

How to export database in phpstudy

4. Open phpStudy-》Mysql Manager-》Mysql Import and Export

Select the restore file path and click The data backup folder will then be opened automatically. We select the data file we just exported. Fill in the database to be restored to: phpstudy. Click Import, and a black window will appear, flashing by, indicating that the import has been completed.

How to export database in phpstudy

#5. Check that the previous data has appeared in the database and the import was successful.

How to export database in phpstudy

Recommended tutorial: phpstudy usage tutorial

The above is the detailed content of How to export database in phpstudy. For more information, please follow other related articles on the PHP Chinese website!

Statement
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 admin@php.cn

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

MantisBT

MantisBT

Mantis is an easy-to-deploy web-based defect tracking tool designed to aid in product defect tracking. It requires PHP, MySQL and a web server. Check out our demo and hosting services.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft