You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The default max_allowed_packet config value of MySql was not enough for me, so when I tried to upload an analysis, I've faced the following exception:
com.mysql.jdbc.PacketTooBigException: Packet for query is too large (6212360 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
The default max_allowed_packet config value of MySql was not enough for me, so when I tried to upload an analysis, I've faced the following exception:
com.mysql.jdbc.PacketTooBigException: Packet for query is too large (6212360 > 4194304). You can change this value on the server by setting the max_allowed_packet' variable.
The following answer helped me:
https://stackoverflow.com/questions/14592351/packettoobigexception-when-running-a-sonar-analysis
(both MySql and the sonar server should be restarted)
There was another step, as the my.ini file was not created in the image, so I had to create my.ini from my-default.ini and added the following line:
max_allowed_packet=256M
The text was updated successfully, but these errors were encountered: