Home > Database > Mysql Tutorial > mysql导入数据库文件最大限制的修改_MySQL

mysql导入数据库文件最大限制的修改_MySQL

WBOY
Release: 2016-06-01 13:52:35
Original
732 people have browsed it

  自己电脑上装的WAMP,在导入数据库比较大(大于2M)时遇到错误,不能导入。

  找到解决方法:

  php.ini配置文件中有三处地方需要改动:

  upload_max_filesize

  memory_limit

  post_max_size

  这三个值都工具实际情况改下,重启服务器以后,虽然导入时仍然显示是 最大限制:2,048 KB) ;

  但实际上已经可以导入很大的数据库了……

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template