瀏覽代碼

修改数据库连接

YL2767 3 月之前
父節點
當前提交
1a20c0ee12
共有 2 個文件被更改,包括 4 次插入4 次删除
  1. 2
    2
      src/main/resource/development/db.properties
  2. 2
    2
      src/main/resource/localhost/db.properties

+ 2
- 2
src/main/resource/development/db.properties 查看文件

@@ -4,7 +4,7 @@
4 4
 #jdbc.password=thware
5 5
 
6 6
 jdbc.driverClass=com.mysql.jdbc.Driver
7
-jdbc.jdbcUrl=jdbc:mysql://60.205.9.174:3309/thware?useUnicode=true&characterEncoding=utf8
7
+jdbc.jdbcUrl=jdbc:mysql://172.18.200.32:3306/ware?useUnicode=true&characterEncoding=utf8
8 8
 jdbc.user=root
9
-jdbc.password=122403
9
+jdbc.password=root
10 10
 

+ 2
- 2
src/main/resource/localhost/db.properties 查看文件

@@ -1,7 +1,7 @@
1 1
 jdbc.driverClass=com.mysql.jdbc.Driver
2
-jdbc.jdbcUrl=jdbc:mysql://60.205.9.174:3309/thware?useUnicode=true&characterEncoding=utf8
2
+jdbc.jdbcUrl=jdbc:mysql://172.18.200.32:3306/ware?useUnicode=true&characterEncoding=utf8
3 3
 jdbc.user=root
4
-jdbc.password=122403
4
+jdbc.password=root
5 5
 #jdbc.driverClass=com.mysql.jdbc.Driver
6 6
 #jdbc.jdbcUrl=jdbc:mysql://localhost:3306/thware?characterEncoding=utf8
7 7
 #jdbc.user=root

Loading…
取消
儲存