SonarQube cannot start with MariaDB 10

2019-02-22 19:49发布

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?

2条回答
Melony?
2楼-- · 2019-02-22 20:32

MariaDB is not supported by SonarQube, see requirements.

查看更多
干净又极端
3楼-- · 2019-02-22 20:36

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

查看更多
登录 后发表回答