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

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

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-07 16:23:07
Original
1546 people have browsed it

自己电脑上装的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) ;

 

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

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
Latest Issues
MySQL stops process
From 1970-01-01 08:00:00
0
0
0
Error when installing mysql on linux
From 1970-01-01 08:00:00
0
0
0
phpstudy cannot start mysql?
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template