MyCATApache / Mycat-Server

GNU General Public License v2.0
9.5k stars 3.85k forks source link

DataGrip 连接Mycat 报Packet for query is too large (28 > -1). #1454

Open gilgameshs opened 7 years ago

gilgameshs commented 7 years ago

最近逐渐转移用DataGrip,发现用mycat做分库的数据库连接出现问题,报如下错误:

Packet for query is too large (28 > -1). You can change this value on the server by setting the max_allowed_packet' variable.. (108ms)

设置max_allowed_packet字段的大小也没有用 请问目前有没有可以解决的办法。

Fxdemon commented 7 years ago

偶也遇到了

yanjunli commented 7 years ago

什么版本?有mycat 日志吗?