Home >Database >Mysql Tutorial >如何修改上传文件的大小_MySQL

如何修改上传文件的大小_MySQL

WBOY
WBOYOriginal
2016-06-01 13:28:511644browse

bitsCN.com

如何修改上传文件的大小

 

修改方法:

 

1)my-large.ini 中将 max_allowed_packet = 1M(默认为1M)设置为
 

max_allowed_packet = 10M

 

 

2)将max_allowed_packet = 10M复制到my.ini中的

 

[mysqld]# The TCP/IP Port the MySQL Server will listen onport=3306max_allowed_packet = 10M

 

 

3)修改配置文件后要重启mysql服务

 

bitsCN.com
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