Commit 6f483f7b authored by cuiweifeng's avatar cuiweifeng

update : add mysql prod

parent fe329c8e
......@@ -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='utf8mb4'
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]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment