Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qa-deploy-utils
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
QA
qa-deploy-utils
Commits
6ee3ebcb
Commit
6ee3ebcb
authored
Jan 09, 2018
by
智勇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
up
parent
a7b1b134
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
db_config
db-utils/config/db_config
+1
-1
db_gen_config.sh
db-utils/db_gen_config.sh
+6
-1
No files found.
db-utils/config/db_config
View file @
6ee3ebcb
database_list=mall xyqb cash_loan_flow clotho contract display dujiangyan financial_system financial_system_api fund_manage gyxd merchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center traffic_distribution user_credit xyqb_app xyqb_btzt xyqb_user
database_list=mall xyqb cash_loan_flow clotho contract display dujiangyan financial_system financial_system_api fund_manage gyxd m
all_settlement m
erchant notify offline payment_center qinqiong quartz redpacket risk_control silk_road spider_center traffic_distribution user_credit xyqb_app xyqb_btzt xyqb_user
source_db_pwd=Uiwb@o^fR&nHOa5t
source_db_pwd=Uiwb@o^fR&nHOa5t
\ No newline at end of file
db-utils/db_gen_config.sh
View file @
6ee3ebcb
...
@@ -150,11 +150,16 @@ elif [[ $database_name = 'traffic_distribution' ]]; then
...
@@ -150,11 +150,16 @@ elif [[ $database_name = 'traffic_distribution' ]]; then
sys_table_list
=
'merchant merchant_carousel merchant_credit merchant_detail merchant_section merchant_sort ppdai_exclude_channel t_module t_module_role t_role t_user t_user_role traffic_channel_banner_ids traffic_channel_ids traffic_channel_sort traffic_infos'
sys_table_list
=
'merchant merchant_carousel merchant_credit merchant_detail merchant_section merchant_sort ppdai_exclude_channel t_module t_module_role t_role t_user t_user_role traffic_channel_banner_ids traffic_channel_ids traffic_channel_sort traffic_infos'
source_db_host
=
'192.168.3.36'
source_db_host
=
'192.168.3.36'
port
=
'3313'
port
=
'3313'
elif
[[
$database_name
=
'notify'
]]
;
then
elif
[[
$database_name
=
'notify'
]]
;
then
# 通知
# 通知
sys_table_list
=
'merchant merchant_config'
sys_table_list
=
'merchant merchant_config'
source_db_host
=
'192.168.4.6'
source_db_host
=
'192.168.4.6'
port
=
'7306'
port
=
'7306'
elif
[[
$database_name
=
'mall_settlement'
]]
;
then
# 通知
sys_table_list
=
'role role_user user'
source_db_host
=
'192.168.4.253'
port
=
'3315'
fi
fi
echo
"port is
$port
"
echo
"port is
$port
"
...
...
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