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

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

WBOY
Release: 2016-06-01 13:28:51
Original
1648 people have browsed it

bitsCN.com

如何修改上传文件的大小

 

修改方法:

 

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

max_allowed_packet = 10M
Copy after login

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

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

 

 

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

 

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