浏览代码

数据库连接地址改为localhost

xusl 3 年之前
父节点
当前提交
531719e9d0
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ipfcst-console/src/main/resources/application.yml

+ 1 - 1
ipfcst-console/src/main/resources/application.yml

@@ -38,7 +38,7 @@ spring:
       # 数据源配置
       username: root
       password: '!QAZ2root'
-      url: jdbc:mysql://192.168.1.205:3306/focus?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8&autoReconnect=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
+      url: jdbc:mysql://localhost:3306/focus?useUnicode=true&characterEncoding=UTF-8&characterSetResults=UTF-8&autoReconnect=true&rewriteBatchedStatements=true&serverTimezone=Asia/Shanghai
       driver-class-name: com.mysql.cj.jdbc.Driver
       # 初始化 最小 最大
       initial-size: 10