关于修改mysql数据库文件大◢小限制解答,启凡大连网络公司在用phpmyadmin导入mysql数据库时,遇到10M的数据库不能□□导入,mysql数据库大只能□□□□导入2M..
phpmyadmin数据库导入出□□□错:
You probably tried to upload too large file. Please refer to documentation for ways to workaround this limit.
可以修改导入□□□□数据库文件大□□限制吗?可以!
解决这个问题,可以参考phpmyadmin文档;直接点击这个□□□□链接,phpmyadmin自动查找到了□□□□以下说明:
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_filesize, memory_limit 和post_max_size,并且推荐修改□□的值要稍大于□□□导入的巨大sql数据库文件;依照这个提示,修改了以上三□□□个在php.ini中的值以后,重启了php环境,再次导入时,数据库文件已□□□经被成功的导□□□入了。
扫一扫
关注k8凯发一触即发
全国咨询热线
135-9299-6491