Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Y
yaconf
Project
Project
Details
Activity
Releases
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
bp
yaconf
Commits
6f483f7b
Commit
6f483f7b
authored
Jul 15, 2021
by
cuiweifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update : add mysql prod
parent
fe329c8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
85 additions
and
20 deletions
+85
-20
mysql.ini
mysql.ini
+85
-20
No files found.
mysql.ini
View file @
6f483f7b
...
...
@@ -123,11 +123,11 @@ goods.read.host='r.bp_goods_1.int.yidian-inc.com:3306,r.bp_goods_2.int.yidian-in
marketing.database_type
=
'mysql'
marketing.database_name
=
'marketing'
marketing.connect_timeout
=
2
marketing.username
=
'bp_
goods
_rw'
marketing.username
=
'bp_
marketing
_rw'
marketing.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
marketing.charset
=
'utf8mb4'
marketing.write.host
=
'w.bp_
goods
.int.yidian-inc.com:3306'
marketing.read.host
=
'r.bp_
goods_1.int.yidian-inc.com:3306,r.bp_goods
_2.int.yidian-inc.com:3306'
marketing.write.host
=
'w.bp_
marketing
.int.yidian-inc.com:3306'
marketing.read.host
=
'r.bp_
marketing_1.int.yidian-inc.com:3306,r.bp_marketing
_2.int.yidian-inc.com:3306'
; 预发环境
[perf-goods : prod-goods : goods : common]
...
...
@@ -172,20 +172,32 @@ marketing.charset='utf8mb4'
marketing.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
marketing.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
;TCC使用分片
[tcc : common]
[prod-tcc : tcc : common]
[dev-tcc : prod-tcc : tcc : common]
tccIndex.database_type
=
'mysql'
tccIndex.database_name
=
'bp_tcc'
tccIndex.connect_timeout
=
2
tccIndex.username
=
'bp_tcc_rw'
tccIndex.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
tccIndex.charset
=
'utf8mb4'
tccIndex.write.host
=
'w.bp_tcc_a.int.yidian-inc.com:3306,w.bp_tcc_b.int.yidian-inc.com:3306'
tccIndex.read.host
[]
='r.bp_tcc_a_1.int.yidian-inc.com:3306,r.bp_tcc_a_2.int.yidian-inc.com:3306'
tccIndex.read.host
[]
='r.bp_tcc_b_1.int.yidian-inc.com:3306,r.bp_tcc_b_2.int.yidian-inc.com:3306'
[dev-tcc : tcc : common]
tccIndex.database_type
=
'mysql'
tccIndex.database_name
=
'bp_tcc'
tccIndex.connect_timeout
=
2
tccIndex.username
=
'bp_rw'
tccIndex.password
=
'OA2My1X9tDUiTymO4yq4VAXCM4ttXj'
tccIndex.charset
=
'utf8'
tccIndex.write.host
=
'w.bp_test_mysql5.int.yidian-inc.com:3310'
tccIndex.read.host
[]
='r.bp_test_mysql5_1.int.yidian-inc.com:3310'
tccIndex.read.host
[]
='r.bp_test_mysql5_2.int.yidian-inc.com:3310'
tccIndex.charset
=
'utf8
mb4
'
tccIndex.write.host
=
'w.bp_test_mysql5.int.yidian-inc.com:3310
,w.bp_test_mysql5.int.yidian-inc.com:3310
'
tccIndex.read.host
[]
='r.bp_test_mysql5_1.int.yidian-inc.com:3310
,r.bp_test_mysql5_1.int.yidian-inc.com:3310
'
tccIndex.read.host
[]
='r.bp_test_mysql5_2.int.yidian-inc.com:3310
,r.bp_test_mysql5_2.int.yidian-inc.com:3310
'
[test-tcc : dev-tcc]
...
...
@@ -193,6 +205,14 @@ tccIndex.read.host[]='r.bp_test_mysql5_2.int.yidian-inc.com:3310'
[order : common]
; 生产环境
[prod-order : order : common]
order.database_type
=
'mysql'
order.database_name
=
'order'
order.connect_timeout
=
2
order.username
=
'bp_order_rw'
order.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
order.charset
=
'utf8mb4'
order.write.host
=
'w.bp_order.int.yidian-inc.com:3306'
order.read.host
=
'r.bp_order_1.int.yidian-inc.com:3306,r.bp_order_2.int.yidian-inc.com:3306'
; 预发环境
[perf-order : prod-order : order : common]
...
...
@@ -219,22 +239,20 @@ order.charset='utf8mb4'
order.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
order.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
tccIndex.database_type
=
'mysql'
tccIndex.database_name
=
'bp_tcc'
tccIndex.connect_timeout
=
2
tccIndex.username
=
'bp_rw'
tccIndex.password
=
'OA2My1X9tDUiTymO4yq4VAXCM4ttXj'
tccIndex.charset
=
'utf8'
tccIndex.write.host
=
'w.bp_test_mysql5.int.yidian-inc.com:3310'
tccIndex.read.host
=
'r.bp_test_mysql5_1.int.yidian-inc.com:3310,r.bp_test_mysql5_2.int.yidian-inc.com:3310'
[pay : common]
; 生产环境
[prod-pay : pay : common]
pay.database_type
=
'mysql'
pay.database_name
=
'pay'
pay.connect_timeout
=
2
pay.username
=
'bp_pay_rw'
pay.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
pay.charset
=
'utf8mb4'
pay.write.host
=
'w.bp_pay.int.yidian-inc.com:3306'
pay.read.host
=
'r.bp_pay_1.int.yidian-inc.com:3306,r.bp_pay_2.int.yidian-inc.com:3306'
; 预发环境
[perf-pay : prod-pay : pay : common]
...
...
@@ -262,11 +280,58 @@ pay.write.host='w.bp_test_mysql1.int.yidian-inc.com:3306'
pay.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
[account : common]
; 生产环境
[prod-account : account : common]
account.database_type
=
'mysql'
account.database_name
=
'account'
account.connect_timeout
=
2
account.username
=
'bp_account_rw'
account.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
account.charset
=
'utf8mb4'
account.write.host
=
'w.bp_account.int.yidian-inc.com:3306'
account.read.host
=
'r.bp_account_1.int.yidian-inc.com:3306,r.bp_account_2.int.yidian-inc.com:3306'
; 预发环境
[perf-account : prod-account : account : common]
; 测试环境
[test-account : account : common]
account.database_type
=
'mysql'
account.database_name
=
'account'
account.connect_timeout
=
2
account.username
=
'bp_rw'
account.password
=
'OA2My1X9tDUiTymO4yq4VAXCM4ttXj'
account.charset
=
'utf8mb4'
account.write.host
=
'w.bp_test_mysql4.int.yidian-inc.com:3309'
account.read.host
=
'r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
; 联调环境
[dev-account : account : common]
account.database_type
=
'mysql'
account.database_name
=
'account'
account.connect_timeout
=
2
account.username
=
'bp_rw'
account.password
=
'OA2My1X9tDUiTymO4yq4VAXCM4ttXj'
account.charset
=
'utf8mb4'
account.write.host
=
'w.bp_test_mysql1.int.yidian-inc.com:3306'
account.read.host
=
'r.bp_test_mysql1_1.int.yidian-inc.com:3306,r.bp_test_mysql1_2.int.yidian-inc.com:3306'
[wallet : common]
; 生产环境
[prod-wallet : wallet : common]
wallet.database_type
=
'mysql'
wallet.database_name
=
'wallet'
wallet.connect_timeout
=
2
wallet.username
=
'bp_wallet_rw'
wallet.password
=
'wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
wallet.charset
=
'utf8mb4'
wallet.write.host
=
'w.bp_wallet.int.yidian-inc.com:3306'
wallet.read.host
=
'r.bp_wallet_1.int.yidian-inc.com:3306,r.bp_wallet_2.int.yidian-inc.com:3306'
; 预发环境
[perf-wallet : prod-wallet : wallet : common]
...
...
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