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
fcb25e62
Commit
fcb25e62
authored
Sep 12, 2017
by
qa_quantgroup
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付中心加新表
parent
781b36e7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
db_gen_config.sh
db-utils/db_gen_config.sh
+2
-2
No files found.
db-utils/db_gen_config.sh
View file @
fcb25e62
...
@@ -52,7 +52,7 @@ elif [[ $database_name = 'xyqb_app' ]]; then
...
@@ -52,7 +52,7 @@ elif [[ $database_name = 'xyqb_app' ]]; then
port
=
'3307'
port
=
'3307'
elif
[[
$database_name
=
'payment_center'
]]
;
then
elif
[[
$database_name
=
'payment_center'
]]
;
then
# 支付中心
# 支付中心
sys_table_list
=
'card_switcher merchant merchant_config pay_approach_config'
sys_table_list
=
'card_switcher merchant merchant_config pay_approach_config
merchant_pay_approach_relation
'
port
=
'3308'
port
=
'3308'
elif
[[
$database_name
=
'risk_control'
]]
;
then
elif
[[
$database_name
=
'risk_control'
]]
;
then
# 谛听database
# 谛听database
...
@@ -146,4 +146,4 @@ do
...
@@ -146,4 +146,4 @@ do
echo
"mysqldump -u
${
source_db_user
}
-p
${
source_db_pwd
}
-h
${
source_db_host
}
-P
${
port
}
$database_name
--tables
$table_name
>>
$file_name
"
echo
"mysqldump -u
${
source_db_user
}
-p
${
source_db_pwd
}
-h
${
source_db_host
}
-P
${
port
}
$database_name
--tables
$table_name
>>
$file_name
"
mysqldump
-u
${
source_db_user
}
-p
${
source_db_pwd
}
-h
${
source_db_host
}
-P
${
port
}
$database_name
--skip-lock-tables
--tables
$table_name
--skip-add-locks
>>
$file_name
mysqldump
-u
${
source_db_user
}
-p
${
source_db_pwd
}
-h
${
source_db_host
}
-P
${
port
}
$database_name
--skip-lock-tables
--tables
$table_name
--skip-add-locks
>>
$file_name
fi
fi
done
done
\ No newline at end of file
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