SonarQube - org.sonar.process.MessageException: Unsupported JDBC driver provider: mysql

介绍了在Linux环境下使用Docker安装最新SonarQube的情况,启动时会报错,新版SonarQube(7.9+)只支持Microsoft SQL Server、Oracle、PostgreSQL、H2等数据库,不再支持MySQL,需更换数据库。

使用docker安装最新的SonarQube
启动SonarQube报错:
Exception in thread "main" org.sonar.process.MessageException: Unsupported JDBC driver provider: mysql

新版的SonarQube(7.9+)只支持以下数据库:
Microsoft SQL Server、Oracle、PostgreSQL、H2 (默认的嵌入式数据库)
不再支持MySQL,请更换数据库。

参考:
Linux环境下使用Docker安装SonarQube的完整教程

2025-10-24 07:54:47.947 UTC [41] FATAL: database "sonar" does not exist sonarqube-server | 07:54:48.873 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties sonarqube-server | Exception in thread "main" org.sonar.process.MessageException: Bad format of JDBC URL: jdbc:sonarqube-db://postgres:5432/sonar sonarqube-server exited with code 0 sonarqube-server | 07:54:49.532 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties sonarqube-server | Exception in thread "main" org.sonar.process.MessageException: Bad format of JDBC URL: jdbc:sonarqube-db://postgres:5432/sonar sonarqube-server exited with code 1 sonarqube-server | 07:54:50.310 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties sonarqube-server | Exception in thread "main" org.sonar.process.MessageException: Bad format of JDBC URL: jdbc:sonarqube-db://postgres:5432/sonar sonarqube-server exited with code 1 sonarqube-server | 07:54:51.246 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties sonarqube-server | Exception in thread "main" org.sonar.process.MessageException: Bad format of JDBC URL: jdbc:sonarqube-db://postgres:5432/sonar sonarqube-server exited with code 1 sonarqube-server | 07:54:52.566 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties sonarqube-server | Exception in thread "main" org.sonar.process.MessageException: Bad format of JDBC URL: jdbc:sonarqube-db://postgres:5432/sonar sonarqube-server exited with code 1 sonarqube-db | 2025-10-24 07:54:53.020 UTC [49] FATAL: database "sonar" does not exist sonarqube-server | 07:54:54.696 [main] WARN org.sonar.application.config.AppSettingsLoaderImpl - Configuration file not found: /opt/sonarqube/conf/sonar.properties sonarqube-server | Exception in thread "main" org.sonar.process.MessageException: Bad format of JDBC URL: jdbc:sonarqube-db://postgres:5432/sonar
最新发布
10-25
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值