浏览代码

[manager]恢复数据库连接

xiegaofeng 3 年之前
父节点
当前提交
47bf9f1901
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      manager/src/main/resources/application.yml

+ 2 - 2
manager/src/main/resources/application.yml

@@ -29,7 +29,7 @@ spring:
     driver-class-name: com.mysql.cj.jdbc.Driver
     username: root
     password: 123456
-    url: jdbc:mysql://127.0.0.1:3306/hertzbeat?useUnicode=true&characterEncoding=utf-8&useSSL=false
+    url: jdbc:mysql://localhost:3306/hertzbeat?useUnicode=true&characterEncoding=utf-8&useSSL=false
     platform: mysql
     hikari:
       max-lifetime: 120000
@@ -66,6 +66,6 @@ warehouse:
     td-engine:
       enabled: true
       driver-class-name: com.taosdata.jdbc.rs.RestfulDriver
-      url: jdbc:TAOS-RS://127.0.0.1:6041/hertzbeat
+      url: jdbc:TAOS-RS://localhost:6041/hertzbeat
       username: root
       password: taosdata