Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
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
耿迪迪
gassafety
Commits
5f6bacf0
Commit
5f6bacf0
authored
Jul 13, 2023
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据库配置修改
parent
5322aae5
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
application-dev.yml
gassafety-admin/src/main/resources/application-dev.yml
+3
-3
application-prd.yml
gassafety-admin/src/main/resources/application-prd.yml
+4
-4
application-test.yml
gassafety-admin/src/main/resources/application-test.yml
+3
-3
No files found.
gassafety-admin/src/main/resources/application-dev.yml
View file @
5f6bacf0
...
...
@@ -6,9 +6,9 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://36.1
48.23.59:33060
/gas_db_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
zehong_/sjz!D
url
:
jdbc:mysql://36.1
38.180.82:3309
/gas_db_test?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
zhkj_db_n
password
:
Fwn4B8nALmLtNh2y
# 从库数据源
slave
:
# 从数据源开关/默认关闭
...
...
gassafety-admin/src/main/resources/application-prd.yml
View file @
5f6bacf0
...
...
@@ -6,9 +6,9 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://36.1
48.23.59:33060
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
zehong_/sjz!D
url
:
jdbc:mysql://36.1
38.180.82:3309
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
zhkj_db_n
password
:
Fwn4B8nALmLtNh2y
# 从库数据源
slave
:
# 从数据源开关/默认关闭
...
...
@@ -58,7 +58,7 @@ spring:
# redis 配置
redis
:
# 地址
host
:
36.148.23.59
host
:
127.0.0.1
# 端口,默认为6379
port
:
6379
# 数据库索引
...
...
gassafety-admin/src/main/resources/application-test.yml
View file @
5f6bacf0
...
...
@@ -6,9 +6,9 @@ spring:
druid
:
# 主库数据源
master
:
url
:
jdbc:mysql://36.1
48.23.59:33060
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
root
password
:
zehong_/sjz!D
url
:
jdbc:mysql://36.1
38.180.82:3309
/gas_db?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username
:
zhkj_db_n
password
:
Fwn4B8nALmLtNh2y
# 从库数据源
slave
:
# 从数据源开关/默认关闭
...
...
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