首页 » 腾讯频道 » 解决 导入资料库大于 2M No data was received to import

解决 导入资料库大于 2M No data was received to import

11-06-23 05:43 978 views 0 发表评论 RSS 2.0
分享到:

当用phpMyAdmin导入的资料库大小大于2M的时候,会出现如下提示:
No data was received to import. Either no file name was submitted、or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.

解決方法:
打开:你的PHP环境的安装目录里的PHP.INI文件,记得有2个路径,2个PHP.INI文件,我的是用WAMP集成安装的,安装在D盘,路径是:D:\wamp\bin\php\php5.2.6\php.ini
还有个在PHP的安装目录下:D:\wamp\bin\apache\apache2.2.8\bin\php.ini
在这2个php.ini搜索这3个地方  upload_max_filesize , memory_limit 和 post_max_size 
将他们后面的值修改成大于你需要导入的数据库大小就好了。

然后重启的PHP环境,我的是wamp,重启就好了 ,现在导入就不会出现No data was received to import. Either no file name was submitted、or the file size exceeded the maximum size permitted by your PHP configuration. See FAQ 1.16.

无觅相关文章插件,快速提升流量


标签:,
欢迎转载本博文章: 转载请保留本文有效链接: http://www.jenzone.cn/archives/17.html

评论 0条 发表

  1. 暂无评论,快抢沙发吧。

发表评论 (有评必回,有博必踩,有踩必评)

联系我 Contact Me

回到页首