sonar mysql 5.5,Sonarqube 5.5和mariadb

港控/mmm° 2022-10-04 12:56 272阅读 0赞

![Image 1][]

We are trying to upgrade to lastest sonarqube 5.5. We have mariadb 10.1 (latest) and since now we had no problems with sonarqube.

Now, with the upgrade, sonarqube will not boot. It says:

Unsupported mysql version: 5.5. Minimal supported version is 5.6.

Is there any trick we can use to make “sonar think” we are using mysql 5.6?

解决方案private static final Map MINIMAL_SUPPORTED_DB_VERSIONS = ImmutableMap.of(

// MsSQL 2008 is 10.x

// MsSQL 2012 is 11.x

// MsSQL 2014 is 12.x

// https://support.microsoft.com/en-us/kb/321185

MsSql.ID, Version.create(10, 0, 0),

MySql.ID, Version.create(5, 6, 0),

Oracle.ID, Version.create(11, 0, 0),

PostgreSql.ID, Version.create(8, 0, 0)

);

And build the project again, but If they have that requirement it’s possible that after the change not everything is going to work fine.

[Image 1]:

发表评论

表情:
评论列表 (有 0 条评论,272人围观)

还没有评论,来说两句吧...

相关阅读