phpMyAdmin mysql导入数据库文件最大限制解决方法You probably tried to upload too large file
You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.
你可能尝试上载过大的文件。请参考方法来解决此限制的文件。
在用phpmyadmin导入mysql数据库时,由于数据库文件太大超过了配置文件的设定值会导致
phpmyadmin数据库导入出错:
You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.
解决方法很简单:
在php.ini配置文件中查找以下三个地方:
upload_max_filesize, memory_limit 和post_max_size
修改其值大于被导入的数据库文件即可(至此配置完成)
重启php环境,注意是重启所有服务,然后就可以导入啦
php.ini默认的上传是2M,我修改了貌似修改的小,不行我的数据库备份文件是200M的
我设置了下:
upload_max_filesize = 300M
memory_limit = 1024M
post_max_size = 200M 这个是关键 之前设置的是30M 不行 估计是上传问题吧!
本文出自 “PHP程序猿” 博客,请务必保留此出处http://okowo.blog.51cto.com/4923464/1355105
PhpMyaAmin导入sql文件时出现You probably tried to upload too large file的解决办法