1 changed files with 8 additions and 0 deletions
@ -0,0 +1,8 @@
@@ -0,0 +1,8 @@
|
||||
spring: |
||||
datasource: |
||||
# 数据源采用spring-boot自带kari,轻量化 |
||||
type: com.zaxxer.hikari.HikariDataSource |
||||
driver-class-name: com.mysql.cj.jdbc.Driver |
||||
username: ${MYSQL_USER:root} |
||||
password: ${MYSQL_PWD:root} |
||||
url: jdbc:mysql://${MYSQL_HOST:127.0.0.1}:${MYSQL_PORT:3306}/${MYSQL_DB:kicc}?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowMultiQueries=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&nullCatalogMeansCurrent=true&allowPublicKeyRetrieval=true |
Loading…
Reference in new issue