Home >Database >phpMyAdmin >How to import data table into phpmyadmin database
Import data table:
First select the database, then click the "Import" button in the navigation bar, enter the import page, and then click the "Select File" button , find the location of the .sql file, and the import file format is SQL. Click the "Execute" button to import the data table into the database, as shown below:
Note:
Before importing the file, first ensure that there is a database with the same name as the imported database. If there is no database with the same name, create a database with the same name as the database in the data file, and then import the data. In addition, the current database cannot be the same as the one in the database. A data table with the same name exists in the database to be imported. If a table with the same name exists, the import file will fail and an error message will be prompted.
Recommended learning: phpmyadmin tutorial
The above is the detailed content of How to import data table into phpmyadmin database. For more information, please follow other related articles on the PHP Chinese website!