Home  >  Article  >  Database  >  mysql导入数据库文件最大限制的修改方法

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

WBOY
WBOYOriginal
2016-06-07 16:23:071476browse

自己电脑上装的WAMP,在导入数据库比较大(大于2M)时遇到错误,不能导入。 找到解决方法: php.ini配置文件中有三处地方需要改动: upload_max_filesize memory_limit post_max_size 这三个值都工具实际情况改下,重启服务器以后,虽然导入时仍然显示是 最大

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

  找到解决方法:

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

  upload_max_filesize

  memory_limit

  post_max_size

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

 

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

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