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

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

SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。

检查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




扫码关注我们
微信号:SRE实战
拒绝背锅 运筹帷幄