|
@@ -1,8 +1,12 @@
|
|
|
spring:
|
|
|
+# 123.60.213.70
|
|
|
# 数据库配置
|
|
|
datasource:
|
|
|
type: com.alibaba.druid.pool.DruidDataSource
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
+ #国电考培服务器
|
|
|
+ #url: jdbc:mysql://10.155.32.18:3306/yf_exam?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
|
+ #华为云
|
|
|
url: jdbc:mysql://123.60.213.70:3306/yf_exam?useSSL=false&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf-8&allowPublicKeyRetrieval=true
|
|
|
username: root
|
|
|
password: 123456
|
|
@@ -23,6 +27,9 @@ spring:
|
|
|
# Redis配置
|
|
|
redis:
|
|
|
database: 0
|
|
|
+ #国电考培服务器
|
|
|
+ #host: 10.155.32.18
|
|
|
+ #华为云
|
|
|
host: 123.60.213.70
|
|
|
port: 6379
|
|
|
password: gdnxfd123
|