我在CentOS服务器上安装了MySQL Server 5.5.25版 . 我在/etc/my.cnf文件中将* max_allowed_packet *大小增加到32M以便永久存储( max_allowed_packet = 32M;
),然后我用/etc/init.d/mysqld restart重新启动服务器 . 问题是在PHPMyAdmin中值不会改变 . 我尝试用 SET GLOBAL max_allowed_packet = 33554432;
(32 MB)从shell设置变量,但shell返回"0 rows affected" .
这是MySQL服务器的错误吗?或许我错了?
1 回答
你重启了Apache吗?