When I try and run a sonar analysis I get this exception
com.mysql.jdbc.PacketTooBigException: Packet for query is too large
(1807198 > 1048576). You can change this value on the server by
setting the max_allowed_packet’ variable.
Where on the sonar server should I set this value?
I’m using Sonar 3.4.1 and MySQL 5.x
Locate the config file
my.cnf(If your MySQL is running in Windows, locatemy.ini)Add this to the config file
Then, restart mysql
service mysql restartnet stop mysqlnet start mysqlGive it a Try !!!