SonarQube cannot start with MariaDB 10

十年热恋 提交于 2019-12-01 03:09:05

问题


I installed MariaDB with yum in CentOS 7.

SonarQube throws this exception:

org.sonar.api.utils.MessageException: Unsupported mysql version: 5.5. Minimal supported version is 5.6.

When I reinstall MariaDB with version 10, SonarQube still throws the same exception.

How does SonarQube-5.5 detect the MySQL version?

The API of MariaDB 10 is compatible with MySQL 5.6 and CentOS 7 has replaced MySQL with MariaDB.

Why does it not support MariaDB 10?


回答1:


MariaDB is not supported by SonarQube, see requirements.




回答2:


Like Nicolas said, MariaDB is not supported by SonarQube - still in v7.

The Solution to run SonarQube in combination with XAMPP is to change the database from MariaDB to MySQL. Here you'll find the steps for changing it:

https://gist.github.com/odan/c799417460470c3776ffa8adce57eece



来源:https://stackoverflow.com/questions/37413653/sonarqube-cannot-start-with-mariadb-10

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!