-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels