Home >Database >phpMyAdmin >What to do if phpmyadmin cannot read the file

What to do if phpmyadmin cannot read the file

尚
Original
2019-12-13 11:38:202563browse

What to do if phpmyadmin cannot read the file

When phpmyadmin imports the database file and the file cannot be read, you can directly import it through the command.

Example:

When phpMyAdmin imports database.4.0.mysql, it prompts that the file cannot be read and the database has no tables

Solution:

Do not use phpMyAdmin Import, directly use the command to import

Enter the mysql database console,

mysql -u root -p

mysql>use database

Then use the source command , the following parameters are script files (such as .sql used here)

mysql>source d:\webs\drupal\database\database.4.1.mysql

Recommended learning: phpmyadmin tutorial

The above is the detailed content of What to do if phpmyadmin cannot read the 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