5.2.2链接更新

This commit is contained in:
msgroup 2021-05-29 08:51:26 +08:00
parent c42211f290
commit a7a0332330
2 changed files with 5 additions and 18 deletions

View File

@ -1,7 +1,6 @@
spring: spring:
datasource: datasource:
driverClassName: com.microsoft.sqlserver.jdbc.SQLServerDriver url: jdbc:mysql://localhost:3306/mcms?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowMultiQueries=true&useSSL=true
url: jdbc:sqlserver://localhost:1433;DatabaseName=db-mcms
username: root username: root
password: root password: root
filters: wall,mergeStat filters: wall,mergeStat

View File

@ -1,19 +1,7 @@
spring: spring:
datasource: datasource:
url: jdbc:mysql://192.168.0.8:3316/wb-mcms-5.2?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowMultiQueries=true&useSSL=true url: jdbc:mysql://localhost:3306/mcms?useUnicode=true&characterEncoding=utf-8&zeroDateTimeBehavior=convertToNull&autoReconnect=true&allowMultiQueries=true&useSSL=true
username: mcms username: root
password: mcms password: root
filters: wall,mergeStat filters: wall,mergeStat
type: com.alibaba.druid.pool.DruidDataSource type: com.alibaba.druid.pool.DruidDataSource
server:
port: 5115
mybatis-plus:
global-config:
db-config:
id-type: auto
configuration:
database-id: mysql
cache-enabled: true
jdbc-type-for-null: 'null' #注意:单引号