Skip to content

Commit

Permalink
修复 数据库变量配置错误
Browse files Browse the repository at this point in the history
  • Loading branch information
kkangert committed Aug 1, 2024
1 parent d07fdf2 commit da12fd5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions kspider-web/src/main/resources/config/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ spring:
date-format: yyyy-MM-dd HH:mm:ss
# datasource
datasource:
url: jdbc:mysql://${MYSQL_ROOT_ADDRESS}:${MYSQL_PORT}/kspider?createDatabaseIfNotExist=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&useSSL=true
username: ${MYSQL_ROOT_USERNAME}
password: ${MYSQL_ROOT_PASSWORD}
url: jdbc:mysql://${DB_HOST}:${DB_PORT}/kspider?createDatabaseIfNotExist=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&useSSL=true
username: ${DB_ROOT_USERNAME}
password: ${DB_ROOT_PASSWORD}
driver-class-name: com.mysql.cj.jdbc.Driver
# jpa
jpa:
Expand Down

0 comments on commit da12fd5

Please sign in to comment.