Sonar报错问题处理
2017-08-24 本文已影响0人
azhao
ERROR: Error during SonarQube Scanner 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文件:
max_allowed_packet = 50M
重启mysql服务:
[root@backserver ~]# systemctl stop mysqld
[root@backserver ~]# systemctl start mysqld