Commit ec25288a authored by mengmeng's avatar mengmeng

database connect change

parent cca8bfd7
Pipeline #194 failed with stages
......@@ -5,9 +5,9 @@ spring:
# driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://112.51.130.215:3306/security_enterprise?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://122.51.130.215/security_enterprise?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: root
password: 123456
url: jdbc:mysql://119.3.143.77:3306/wl_officalaccount?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: hmit_user
password: HmitUser@1234
# #Oracle
# driver-class-name: oracle.jdbc.OracleDriver
# url: jdbc:oracle:thin:@localhost:1521:xe
......@@ -62,4 +62,4 @@ spring:
# driver-class-name: org.postgresql.Driver
# url: jdbc:postgresql://123456:5432/security_enterprise
# username: postgres
# password: 123456
\ No newline at end of file
# password: 123456
......@@ -5,9 +5,9 @@ spring:
# driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://122.51.130.215:3306/security_enterprise?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://122.51.130.215/security_enterprise?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: root
password: 123456
url: jdbc:mysql://119.3.143.77:3306/wl_officalaccount?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: hmit_user
password: HmitUser@1234
initial-size: 10
max-active: 100
min-idle: 10
......@@ -33,4 +33,4 @@ spring:
merge-sql: false
wall:
config:
multi-statement-allow: true
\ No newline at end of file
multi-statement-allow: true
......@@ -4,9 +4,9 @@ spring:
# driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://112.51.130.215:3306/security_enterprise?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://122.51.130.215:3306/security_enterprise?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: root
password: 123456
url: jdbc:mysql://119.3.143.77:3306/wl_officalaccount?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: hmit_user
password: HmitUser@1234
initial-size: 10
max-active: 100
min-idle: 10
......
......@@ -4,9 +4,9 @@ spring:
# driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://localhost:3306/security_enterprise?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://122.51.130.215/security_enterprise?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: root
password: 123456
url: jdbc:mysql://119.3.143.77:3306/wl_officalaccount?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: hmit_user
password: HmitUser@1234
initial-size: 10
max-active: 100
min-idle: 10
......
......@@ -4,9 +4,9 @@ spring:
# driver-class-name: com.mysql.cj.jdbc.Driver
driver-class-name: com.mysql.jdbc.Driver
# url: jdbc:mysql://localhost:3306/security_enterprise?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
url: jdbc:mysql://122.51.130.215/security_enterprise?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: root
password: 123456
url: jdbc:mysql://119.3.143.77:3306/wl_officalaccount?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: hmit_user
password: HmitUser@1234
initial-size: 10
max-active: 100
min-idle: 10
......
......@@ -10,9 +10,9 @@ spring:
#MySQL配置
# driverClassName: com.mysql.cj.jdbc.Driver
driverClassName: com.mysql.jdbc.Driver
url: jdbc:mysql://112.51.130.215:3306/hmit_test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai
username: root
password: 123456
url: jdbc:mysql://119.3.143.77:3306/wl_officalaccount?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false
username: hmit_user
password: HmitUser@1234
#oracle配置
# driverClassName: oracle.jdbc.OracleDriver
# url: jdbc:oracle:thin:@192.168.10.10:1521:xe
......@@ -47,4 +47,4 @@ pagehelper:
#指定数据库,可选值有【mysql、oracle、sqlserver、postgresql】
hmit:
database: mysql
\ No newline at end of file
database: mysql
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment