Home  >  Article  >  Backend Development  >  Solution to the problem when phpmyadmin imports large database files

Solution to the problem when phpmyadmin imports large database files

WBOY
WBOYOriginal
2016-07-25 09:07:33992browse
When using phpmyadmin to import an 8M database, the import cannot be successful and the following error occurs:

When using phpmyadmin to import an 8M database, the import cannot be successful and the following error occurs: Solution to the problem when phpmyadmin imports large database files

Solution: When you need to import a database file that is too large, you need to configure the three default values ​​of upload_max_filesize, memory_limit and post_max_size in php.ini to be larger than the size of the file you import. Then after restarting apache, you can import normally.

If that still doesn’t work, it is recommended to use a third-party management tool to import. For example, the following two software are both good: Solution to the problem when phpmyadmin imports large database files management tool-Mysql GUI Tools V5.0 Green Chinese version Solution to the problem when phpmyadmin imports large database files management tool-Navicat for MySQL V9.0.15 Green Chinese version.



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