Skip to content

Commit

Permalink
Merge pull request kkangert#22 from kkangert/fix_db_config
Browse files Browse the repository at this point in the history
修复 数据库变量配置错误
  • Loading branch information
kkangert authored Aug 1, 2024
2 parents d07fdf2 + da12fd5 commit 09c2643
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 09c2643

Please sign in to comment.