-->

SonarQube cannot start with MariaDB 10

2019-02-22 19:36发布

问题:

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