SonarQube Scanner execution execution Error --- Failed to upload report - 500: An error has occurred. Please contact your administrator

问题原因:mysql参数设置问题

检查mysql参数:

mysql> SHOW VARIABLES LIKE 'max_allowed_packet';

修改/etc/my.cnf文件:

[mysqld]

max_allowed_packet = 50M

重启mysql服务:

[root@sonar-test]# service mysql restart

重启sonar服务

[sonar@sonar-test]$ sonar.sh restart




posted on 2019-04-22 11:13  一叶飞天  阅读(1149)  评论(0编辑  收藏  举报

导航