欢迎来到站长天空!

其它数据库

当前位置: 主页 > 数据库 > 其它数据库

phpMyAdmin无法导入大的数据库文件怎么办?

时间:2025-12-20 13:00:04|栏目:其它数据库|点击:

phpMyAdmin无法导入大的数据库文件的解决办法:

大多数都说修改php.ini中的upload_max_filesize,但修改了这个以后,还是提示这个问 题;但phpmyadmin在提示这个问题的时候,右下角有一行英文提示,大致意思是说,解决这个问题,可以参考phpmyadmin文档;直接点击这个 链接,phpmyadmin自动查找到了以下说明:

[1.16] I cannot upload big dump files (memory, http or timeout problems).
Starting with version 2.7.0, the import engine has been re–written and these problems should not occur. If possible, upgrade your phpMyAdmin to the latest version to take advantage of the new import features.

The first things to check (or ask your host provider to check) are the values of upload_max_filesize, memory_limit and post_max_size in the php.ini configuration file. All of these three settings limit the maximum size of data that can be submitted and handled by PHP. One user also sAId that post_max_size and memory_limit need to be larger than upload_max_filesize.

以上文件大致说明的意思就是说,遇到导入过大文件时,首先检查php.ini 配置文件中的以下三个地方,upload_max_filesizememory_limit 和post_max_size,并且推荐修改的值要稍大于导入的巨大sql数据库文件。

依照这个提示,我修改了以上三个在php.ini中的值以后,重启 了php环境,再次导入时,虽然phpmyadmin还是显示导入最大限制:20,480 KB,但巨大的80M数据库文件已经被成功的导入了。

所用phpMyAdmin的版本为 2.8.1,环境:APMServ 5.1.2

上一篇:PhpMyAdmin出现错误数据无法导出怎么办?

栏    目:其它数据库

下一篇:access数据库中的Round函数怎么用

本文标题:phpMyAdmin无法导入大的数据库文件怎么办?

本文地址:https://zz.feitang.co/shujuku/32210.html

广告投放 | 联系我们 | 版权申明

申明:本站所有的文章、图片、评论等,均由网友发表或上传并维护或收集自网络,属个人行为,与本站立场无关。

如果侵犯了您的权利,请与我们联系,我们将在24小时内进行处理、任何非本站因素导致的法律后果,本站均不负任何责任。

联系QQ:257218569 | 邮箱:257218569@qq.com

Copyright © 2018-2025 站长天空 版权所有 Powered by EyouCms冀ICP备14023439号