max_allowed_packet,我没有 MySQL [英] max_allowed_packet, I don't have MySQL
问题描述
我正在尝试运行 sonar-runner.bat,当它几乎完成分析时,它写的 max_allowed_packet 不仅仅是一些东西.所以它失败了.
I'm trying to run sonar-runner.bat, when it almost finished analyzing, it's written max_allowed_packet more than something something. So it fails.
通过深入搜索,每个人都说我应该在MySQL文件夹中配置my.ini文件.但,我没有安装 MySQL.
Through deep search, everyone said that i should configer my.ini file inside MySQL folder. But, I don't have MySQL Installed.
日志:错误:无法执行声纳错误:引起:无法保存文件源错误:由:
Log: Error: unable to execute sonar error: caused by: unable to save file sources error: caused by:
我该如何改变它?帮助!
how can i change it? help!
推荐答案
我自己找到了答案.
看起来我没有意识到 Sonarqube 中的数据库是如何工作的.
Looks like I don't realize how the database works in Sonarqube.
因此,DEFAULT,sonarqube 使用 H2.这是一个很好的,我相信我的问题不会发生.
So by DEFAULT, sonarqube use H2. This is a good one, and I believe such my problem won't happened.
原来我公司的某个人实际上使用了他自己的 MYSQL 服务器.所以,我找到了 MySQL 文件夹,更改 .ini/.cfg 文件,将 MAX_ALLOWED_PACKET 值插入更大的数字.
Turned out someone from my company actually used his own MYSQL server. So, I found the MySQL folder, change .ini/.cfg file, insert MAX_ALLOWED_PACKET value to bigger number.
瞧!
感谢您的帮助!
这篇关于max_allowed_packet,我没有 MySQL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!