Bladeren bron

支持MySQL8.0

Mark 5 jaren geleden
bovenliggende
commit
fae96e8633

+ 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