Explorar el Código

配置文件修改

lvzhikai hace 6 años
padre
commit
9018d0143f
Se han modificado 1 ficheros con 10 adiciones y 8 borrados
  1. 10 8
      src/main/resources/bootstrap.yml

+ 10 - 8
src/main/resources/bootstrap.yml

@@ -25,10 +25,11 @@ spring:
25 25
     name: depot-agent
26 26
   # 数据库配置
27 27
   datasource:
28
-    driver-class-name: com.mysql.jdbc.Driver
29
-    url: jdbc:mysql://192.168.123.38:3306/depot_tianjin?useUnicode=true&characterEncoding=utf-8
30
-    username: root
31
-    password: 123456
28
+    type: com.alibaba.druid.pool.DruidDataSource
29
+    url: jdbc:gbasedbt-sqli://192.168.123.38:9099/depot:INFORMIXSERVER=depot;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;DB_LOCALE=zh_cn.GB18030-2000
30
+    username: gbasedbt
31
+    password: depot123456
32
+    driver-class-name: com.gbasedbt.jdbc.IfxDriver
32 33
   # 缓存配置
33 34
   session:
34 35
     store-type: redis
@@ -75,10 +76,11 @@ spring:
75 76
     name: depot-agent-lv
76 77
   # 数据库配置
77 78
   datasource:
78
-    driver-class-name: com.mysql.jdbc.Driver
79
-    url: jdbc:mysql://192.168.123.38:3306/depot_tianjin?useUnicode=true&characterEncoding=utf-8
80
-    username: root
81
-    password: 123456
79
+    type: com.alibaba.druid.pool.DruidDataSource
80
+    url: jdbc:gbasedbt-sqli://192.168.123.38:9099/depot:INFORMIXSERVER=depot;NEWCODESET=GBK,8859-1,819;GL_USEGLU=1;IFX_USE_STRENC=true;characterEncoding=utf8;DB_LOCALE=zh_cn.GB18030-2000
81
+    username: gbasedbt
82
+    password: depot123456
83
+    driver-class-name: com.gbasedbt.jdbc.IfxDriver
82 84
   # 缓存配置
83 85
   session:
84 86
     store-type: redis