From 287394e8f59db91ffaa04887a7b92ed796c0e627 Mon Sep 17 00:00:00 2001 From: chaos <7676076@qq.com> Date: Fri, 18 Jul 2025 17:55:07 +0800 Subject: [PATCH] =?UTF-8?q?fix(chaos=5Fapi=5Fweb):=E4=BF=AE=E6=AD=A3?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=BA=93=E8=BF=9E=E6=8E=A5=20URL?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 将 JDBC URL 从 mysql 改为 mariadb,以匹配 MariaDB 数据库 - 保留了原有的配置参数 --- chaos_api_web/src/main/resources/application.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chaos_api_web/src/main/resources/application.yaml b/chaos_api_web/src/main/resources/application.yaml index 3953669..174f5b6 100644 --- a/chaos_api_web/src/main/resources/application.yaml +++ b/chaos_api_web/src/main/resources/application.yaml @@ -6,7 +6,7 @@ spring: name: chaos-api datasource: driver-class-name: org.mariadb.jdbc.Driver - url: jdbc:mysql://10.91.3.23:3306/chaos?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false + url: jdbc:mariadb://10.91.3.23:3306/chaos?serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true&useSSL=false username: chaos password: zx123456.. type: com.alibaba.druid.pool.DruidDataSource