fix
This commit is contained in:
@@ -17,7 +17,7 @@ sample-client.ribbon.ConnectTimeout = 60000
|
||||
sample-client.ribbon.ReadTimeout = 60000
|
||||
|
||||
#初始服务器列表,可以在运行时通过Archaius动态属性进行更改
|
||||
sample-client.ribbon.listOfServers =localhost:8080
|
||||
sample-client.ribbon.listOfServers =192.168.1.115:8189
|
||||
|
||||
|
||||
#启用主要连接
|
||||
|
||||
@@ -114,6 +114,11 @@
|
||||
<scope>system</scope>
|
||||
<systemPath>${pom.basedir}/libs/pinyin4j-2.5.0.jar</systemPath>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.jvnet.staxex</groupId>
|
||||
<artifactId>stax-ex</artifactId>
|
||||
<version>1.8.3</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
|
||||
@@ -5,9 +5,9 @@ spring:
|
||||
# 使用druid数据源
|
||||
type: com.alibaba.druid.pool.DruidDataSource
|
||||
druid:
|
||||
url: jdbc:mysql://${MYSQL_HOST:10.211.55.3}:${MYSQL_PORT:3306}/ipsm_dba?serverTimezone=Asia/Shanghai
|
||||
url: jdbc:mysql://${MYSQL_HOST:192.168.1.115}:${MYSQL_PORT:3306}/ipsm_dba?serverTimezone=Asia/Shanghai
|
||||
username: root
|
||||
password: Root@12345
|
||||
password: jia980709
|
||||
driver-class-name: com.mysql.cj.jdbc.Driver
|
||||
# 连接池的配置信息
|
||||
# 初始化大小,最小,最大
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
server:
|
||||
port: 8189
|
||||
spring:
|
||||
profiles:
|
||||
active: mysql
|
||||
|
||||
Reference in New Issue
Block a user