SonarQube Scanner execution execution Error --- Failed to upload report - 500: An error has occurred

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

检查mysql参数:

mysql> SHOW VARIABLES LIKE 'max_allowed_packet';

修改/etc/my.cnf文件:

[mysqld]

max_allowed_packet = 50M

重启mysql服务:

[[email protected]]# service mysql restart

重启sonar服务   这个不重启不生效,我就犯了这个错误

[[email protected]]$ sonar.sh restart

转载地址  https://www.cnblogs.com/huxinping8800/p/10749018.html

相关文章:

  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
  • 2021-09-12
  • 2021-07-17
  • 2021-09-03
猜你喜欢
  • 2021-08-09
  • 2021-10-25
  • 2021-09-16
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-22
相关资源
相似解决方案