ソースを参照

支持MySQL8.0

Mark 5 年 前
コミット
fae96e8633
共有3 個のファイルを変更した3 個の追加3 個の削除を含む
  1. 1 1
      src/main/resources/application-dev.yml
  2. 1 1
      src/main/resources/application-prod.yml
  3. 1 1
      src/main/resources/application-test.yml

+ 1 - 1
src/main/resources/application-dev.yml

@ -2,7 +2,7 @@ spring:
2 2
    datasource:
3 3
        type: com.alibaba.druid.pool.DruidDataSource
4 4
        druid:
5
            driver-class-name: com.mysql.jdbc.Driver
5
            driver-class-name: com.mysql.cj.jdbc.Driver
6 6
            url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
7 7
            username: renren
8 8
            password: 123456

+ 1 - 1
src/main/resources/application-prod.yml

@ -2,7 +2,7 @@ spring:
2 2
    datasource:
3 3
        type: com.alibaba.druid.pool.DruidDataSource
4 4
        druid:
5
            driver-class-name: com.mysql.jdbc.Driver
5
            driver-class-name: com.mysql.cj.jdbc.Driver
6 6
            url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
7 7
            username: renren
8 8
            password: 123456

+ 1 - 1
src/main/resources/application-test.yml

@ -2,7 +2,7 @@ spring:
2 2
    datasource:
3 3
        type: com.alibaba.druid.pool.DruidDataSource
4 4
        druid:
5
            driver-class-name: com.mysql.jdbc.Driver
5
            driver-class-name: com.mysql.cj.jdbc.Driver
6 6
            url: jdbc:mysql://localhost:3306/renren_fast?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
7 7
            username: renren
8 8
            password: 123456