Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-zx-biz
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Jobs
Commits
Open sidebar
项目统一框架
一体化_户用光伏项目代码
amos-boot-zx-biz
Commits
ce45f2ab
Commit
ce45f2ab
authored
Sep 19, 2023
by
tangwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改配置文件
parent
2f5637ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
application-dev.properties
...le-hygf-biz/src/main/resources/application-dev.properties
+4
-2
No files found.
amos-boot-system-jxiop/amos-boot-module-hygf-biz/src/main/resources/application-dev.properties
View file @
ce45f2ab
## DB properties:
## DB properties:
spring.datasource.dynamic.primary
=
mysql-service
spring.datasource.mysql-service.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.mysql-service.driver-class-name
=
com.mysql.cj.jdbc.Driver
spring.datasource.mysql-service.jdbc-url
=
jdbc:mysql://172.16.10.220:3306/amos_project?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.mysql-service.jdbc-url
=
jdbc:mysql://172.16.10.220:3306/amos_project?allowMultiQueries=true&serverTimezone=GMT%2B8&characterEncoding=utf8
spring.datasource.mysql-service.username
=
root
spring.datasource.mysql-service.username
=
root
...
@@ -22,10 +23,10 @@ spring.datasource.mysql-service.connection-timeout: 30000
...
@@ -22,10 +23,10 @@ spring.datasource.mysql-service.connection-timeout: 30000
spring.datasource.tdengine-service.driver-class-name
=
com.taosdata.jdbc.TSDBDriver
spring.datasource.tdengine-service.driver-class-name
=
com.taosdata.jdbc.TSDBDriver
spring.datasource.tdengine-service.jdbc-url
=
jdbc:TAOS
-RS://139.9.170.47:6041/house_pv_data?user=%s&password=%s
&timezone=GMT+8
spring.datasource.tdengine-service.jdbc-url
=
jdbc:TAOS
://139.9.170.47:6041/house_pv_data?user=root&password=taosdata
&timezone=GMT+8
spring.datasource.tdengine-service.username
=
root
spring.datasource.tdengine-service.username
=
root
spring.datasource.tdengine-service.password
=
taosdata
spring.datasource.tdengine-service.password
=
taosdata
spring.datasource.tdengine-service.type
=
com.
taosdata.jdbc.TSDBDriver
spring.datasource.tdengine-service.type
=
com.
zaxxer.hikari.HikariDataSource
#最小连接
#最小连接
spring.datasource.tdengine-service.minimum-idle
:
5
spring.datasource.tdengine-service.minimum-idle
:
5
#最大连接
#最大连接
...
@@ -41,6 +42,7 @@ spring.datasource.tdengine-service.max-lifetime: 1800000
...
@@ -41,6 +42,7 @@ spring.datasource.tdengine-service.max-lifetime: 1800000
#连接超时时间
#连接超时时间
spring.datasource.tdengine-service.connection-timeout
:
30000
spring.datasource.tdengine-service.connection-timeout
:
30000
spring.datasource.tdengine-service.connection-test-query
:
SELECT 1
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment