Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gass-device-report
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gass-device-report
Commits
f09cd853
Commit
f09cd853
authored
Jul 13, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库配置修改
parent
68e0f79f
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
13 deletions
+13
-13
application-dev.yml
src/main/resources/application-dev.yml
+4
-4
application-prd.yml
src/main/resources/application-prd.yml
+4
-4
application-test.yml
src/main/resources/application-test.yml
+4
-4
application.yml
src/main/resources/application.yml
+1
-1
No files found.
src/main/resources/application-dev.yml
View file @
f09cd853
#mysql
spring
:
datasource
:
username
:
root
password
:
zehong_/sjz!D
url
:
jdbc:mysql://36.1
48.23.59:33060
/gas_db_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
zhkj_db_n
password
:
Fwn4B8nALmLtNh2y
url
:
jdbc:mysql://36.1
38.180.82:3309
/gas_db_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
driver-class-name
:
com.mysql.jdbc.Driver
# redis 配置
redis
:
# 地址
host
:
36.148.
23.59
host
:
36.148.
1.253
# 端口,默认为6379
port
:
6379
# 数据库索引
...
...
src/main/resources/application-prd.yml
View file @
f09cd853
#mysql
spring
:
datasource
:
username
:
root
password
:
zehong_/sjz!D
url
:
jdbc:mysql://36.1
48.23.59:33060
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
zhkj_db_n
password
:
Fwn4B8nALmLtNh2y
url
:
jdbc:mysql://36.1
38.180.82:3309
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
driver-class-name
:
com.mysql.jdbc.Driver
# redis 配置
redis
:
# 地址
host
:
36.148.
23.59
host
:
36.148.
1.253
# 端口,默认为6379
port
:
6379
# 数据库索引
...
...
src/main/resources/application-test.yml
View file @
f09cd853
#mysql
spring
:
datasource
:
username
:
root
password
:
zehong_/sjz!D
url
:
jdbc:mysql://36.1
48.23.59:33060
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
zhkj_db_n
password
:
Fwn4B8nALmLtNh2y
url
:
jdbc:mysql://36.1
38.180.82:3309
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
driver-class-name
:
com.mysql.jdbc.Driver
# redis 配置
redis
:
# 地址
host
:
36.148.
23.59
host
:
36.148.
1.253
# 端口,默认为6379
port
:
6379
# 数据库索引
...
...
src/main/resources/application.yml
View file @
f09cd853
...
...
@@ -15,7 +15,7 @@ server:
spring
:
profiles
:
active
:
test
active
:
prd
#mybatis的相关配置
...
...
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