MySQL导入大sql 文件大小限制问题的解决,mysqlql
解决过程如下:
1、由于mysql能解析sql的压缩文件,因此将200M压缩后为5M。
2、默认情况下:MySQL导入文件大小有限制的,最大为2M,所以当文件很大时候,直接无法导入,可修改php.ini参数调整:
在php.ini中修改相关参数:
影响MySQL导入文件大小的参数有三个:、
memory_limit=128M,upload_max_filesize=2M,post_max_size=8M
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