maxAllowedPacket,mysql数据库,程序总报这种错,求解
隔一段时间就会出现这个错误:
Caused by: java.sql.SQLException: Connection setting too low for 'maxAllowedPacket'. When 'useServerPrepStmts=true', 'maxAllowedPacket' must be higher than 8203. Check also 'max_allowed_packet' in MySQL configuration files,
我已经将mysql数据库的maxAllowedPacket 这个值设置为100M了,还是会报这个错误,求解