Home  >  Article  >  Database  >  What should I do if phpmyadmin fails to import the sql file?

What should I do if phpmyadmin fails to import the sql file?

coldplay.xixi
coldplay.xixiOriginal
2020-07-20 14:35:313878browse

The solution to the failure of phpmyadmin to import the sql file: first select the database name in navicat and click [New Backup]; then select the backup file that just appeared in the list and click [Extract SQL] to save it.

What should I do if phpmyadmin fails to import the sql file?

Solution to the failure of phpmyadmin to import the sql file:

1. Select the database name in navicat - click ' Create a new backup '

What should I do if phpmyadmin fails to import the sql file?

2. The backup file just now will appear in the list - select it, click 'Extract sql' to save it

Extended information :

When you want to change a database

The code is as follows

mysql>use database_name

Then use the following command

The code is as follows

mysql>source d:datafilename.sql

Of course you need to figure out the path where the file is located, and use

phpmyadmin is not enough, there are too many restrictions, such as recording, memory, etc.!

Related tutorial recommendations: phpmyadmin

The above is the detailed content of What should I do if phpmyadmin fails to import the sql file?. 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