Home > Database > phpMyAdmin > body text

What to do if phpmyadmin cannot read the file

Release: 2019-12-13 11:38:20
Original
2524 people have browsed it

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!

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 admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template