Commit 15043260 authored by 顾文旭's avatar 顾文旭

mysql

parent a17f12ae
; 公共的配置内容,不区分应用及环境
[common]
[merchant : common]
; 生产环境
[test-merchant : merchant : common]
merchant.database_type='mysql'
merchant.database_name='merchant'
merchant.connect_timeout=2
merchant.username='bp_merchant_rw'
merchant.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
merchant.charset='utf8mb4'
merchant.write.host='10.9.99.132:3306'
merchant.read.host='10.9.99.132:3306'
[interaction : common]
; 生产环境
[test-interaction : interaction : common]
interaction.database_type='mysql'
interaction.database_name='interaction'
interaction.connect_timeout=2
interaction.username='bp_interaction_rw'
interaction.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
interaction.charset='utf8mb4'
interaction.write.host='10.9.99.132:3306'
interaction.read.host='10.9.99.132:3306'
merchant.database_type='mysql'
merchant.database_name='merchant'
merchant.connect_timeout=2
merchant.username='bp_merchant_rw'
merchant.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
merchant.charset='utf8mb4'
merchant.write.host='10.9.99.132:3306'
merchant.read.host='10.9.99.132:3306'
;导数据专用--线上
dao.database_type='mysql'
dao.database_name='zhiyue'
dao.connect_timeout=2
dao.username='data'
dao.password='s5JEh#FUvX%7P3sO9ZDQw&cpH$Xr8Q'
dao.charset='utf8mb4'
dao.read.host='10.9.102.116:4066'
;导数据专用--线上
fu.database_type='mysql'
fu.database_name='interaction'
fu.connect_timeout=2
fu.username='zhiyue_tmp_ro'
fu.password='AABBCCDD'
fu.charset='utf8mb4'
fu.write.host='10.136.150.2:3307'
fu.read.host='10.136.150.2:3307'
[goods : common]
; 生产环境
[test-goods : goods : common]
goods.database_type='mysql'
goods.database_name='goods'
goods.connect_timeout=2
goods.username='bp_goods_rw'
goods.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
goods.charset='utf8mb4'
goods.write.host='10.9.99.132:3306'
goods.read.host='10.9.99.132:3306'
marketing.database_type='mysql'
marketing.database_name='marketing'
marketing.connect_timeout=2
marketing.username='bp_marketing_rw'
marketing.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
marketing.charset='utf8mb4'
marketing.write.host='10.9.99.132:3306'
marketing.read.host='10.9.99.132:3306'
;TCC使用分片
[tcc : common]
[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='10.9.99.132:3306'
tccIndex.read.host[]='10.9.99.132:3306'
tccIndex.read.host[]='10.9.99.132:3306'
[dev-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='10.9.99.132:3306'
tccIndex.read.host[]='10.9.99.132:3306'
tccIndex.read.host[]='10.9.99.132:3306'
[test-tcc : dev-tcc]
[order : common]
; 生产环境
[test-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='10.9.99.132:3306'
order.read.host='10.9.99.132:3306'
; 生活号 接龙拼单 骑手排线功能开发 @耿鸿飞 @2021-7-21 待生活号重构完毕后会删除该配置
commerce.database_type='mysql'
commerce.database_name='commerce'
commerce.connect_timeout=2
commerce.username='commerce_rw'
commerce.password='zhd8IJZdpAgxyvc6EVPP3VG8'
commerce.charset='utf8mb4'
commerce.write.host='commerce.db.appgc.yidian-inc.com:4066'
commerce.read.host='commerce.db.appgc.yidian-inc.com:4066'
; 生活号 接龙拼单 用户信息
zhiyue.database_type='mysql'
zhiyue.database_name='zhiyue'
zhiyue.connect_timeout=2
zhiyue.username='zhiyue_ro'
zhiyue.password='s5JEh#FUvX%7P3sO9ZDQw&cpH$Xr8Q'
zhiyue.charset='utf8mb4'
zhiyue.write.host='zhiyue-slave.db.appgc.yidian-inc.com:4066'
zhiyue.read.host='zhiyue-slave.db.appgc.yidian-inc.com:4066'
[pay : common]
; 生产环境
[test-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='10.9.99.132:3306'
pay.read.host='10.9.99.132:3306'
[account : common]
; 生产环境
[test-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='10.9.99.132:3306'
account.read.host='10.9.99.132:3306'
[wallet : common]
; 生产环境
[test-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='10.9.99.132:3306'
wallet.read.host='10.9.99.132:3306'
[coupon : common]
; 生产环境
[test-coupon : coupon : common]
coupon.database_type='mysql'
coupon.database_name='coupon'
coupon.connect_timeout=2
coupon.username='bp_coupon_rw'
coupon.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
coupon.charset='utf8mb4'
coupon.write.host='10.9.99.132:3306'
coupon.read.host='10.9.99.132:3306'
......@@ -5,7 +5,7 @@
[merchant : common]
; 生产环境
[test-merchant : merchant : common]
[prod-merchant : merchant : common]
merchant.database_type='mysql'
merchant.database_name='merchant'
merchant.connect_timeout=2
......@@ -16,11 +16,28 @@ merchant.write.host='10.9.99.132:3306'
merchant.read.host='10.9.99.132:3306'
; 预发环境
[perf-merchant : prod-merchant : merchant : common]
; 测试环境
[test-merchant : merchant : common]
merchant.database_type='mysql'
merchant.database_name='merchant_test'
merchant.connect_timeout=2
merchant.username='bp'
merchant.password='bp-test'
merchant.charset='utf8mb4'
merchant.write.host='bp-test.db.appgc.cn:4066'
merchant.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 联调环境
[dev-merchant : merchant : common]
[interaction : common]
; 生产环境
[test-interaction : interaction : common]
[prod-interaction : interaction : common]
interaction.database_type='mysql'
interaction.database_name='interaction'
interaction.connect_timeout=2
......@@ -58,12 +75,47 @@ fu.charset='utf8mb4'
fu.write.host='10.136.150.2:3307'
fu.read.host='10.136.150.2:3307'
; 预发环境
[perf-interaction : prod-interaction : interaction : common]
; 测试环境
[test-interaction : interaction : common]
interaction.database_type='mysql'
interaction.database_name='interaction_test'
interaction.connect_timeout=2
interaction.username='bp'
interaction.password='bp-test'
interaction.charset='utf8mb4'
interaction.write.host='bp-test.db.appgc.cn:4066'
interaction.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
merchant.database_type='mysql'
merchant.database_name='merchant_test'
merchant.connect_timeout=2
merchant.username='bp'
merchant.password='bp-test'
merchant.charset='utf8mb4'
merchant.write.host='bp-test.db.appgc.cn:4066'
merchant.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
fu.database_type='mysql'
fu.database_name='interaction2'
fu.connect_timeout=2
fu.username='bp_rw'
fu.password='OA2My1X9tDUiTymO4yq4VAXCM4ttXj'
fu.charset='utf8mb4'
fu.write.host='w.bp_test_mysql4.int.yidian-inc.com:3309'
fu.read.host='r.bp_test_mysql4_1.int.yidian-inc.com:3309,r.bp_test_mysql4_2.int.yidian-inc.com:3309'
; 联调环境
[dev-interaction : interaction : common]
[goods : common]
; 生产环境
[test-goods : goods : common]
[prod-goods : goods : common]
goods.database_type='mysql'
goods.database_name='goods'
goods.connect_timeout=2
......@@ -83,7 +135,33 @@ marketing.write.host='10.9.99.132:3306'
marketing.read.host='10.9.99.132:3306'
; 预发环境
[perf-goods : prod-goods : goods : common]
; 测试环境
[test-goods : goods : common]
goods.database_type='mysql'
goods.database_name='goods_test'
goods.connect_timeout=2
goods.username='bp'
goods.password='bp-test'
goods.charset='utf8mb4'
goods.write.host='bp-test.db.appgc.cn:4066'
goods.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
marketing.database_type='mysql'
marketing.database_name='marketing_test'
marketing.connect_timeout=2
marketing.username='bp'
marketing.password='bp-test'
marketing.charset='utf8mb4'
marketing.write.host='bp-test.db.appgc.cn:4066'
marketing.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 开发联调测试
[dev-goods : goods : common]
......@@ -103,22 +181,32 @@ tccIndex.read.host[]='10.9.99.132:3306'
tccIndex.read.host[]='10.9.99.132:3306'
[dev-tcc : tcc : common]
tccIndex.database_type='mysql'
tccIndex.database_name='bp_tcc'
tccIndex.database_name='tcc_test'
tccIndex.connect_timeout=2
tccIndex.username='bp_tcc_rw'
tccIndex.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
tccIndex.username='bp'
tccIndex.password='bp-test'
tccIndex.charset='utf8mb4'
tccIndex.write.host='10.9.99.132:3306'
tccIndex.read.host[]='10.9.99.132:3306'
tccIndex.read.host[]='10.9.99.132:3306'
tccIndex.write.host='bp-test.db.appgc.cn:4066'
tccIndex.read.host[]='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
tccIndex.read.host[]='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
[test-tcc : dev-tcc]
tccIndex.database_type='mysql'
tccIndex.database_name='tcc_test'
tccIndex.connect_timeout=2
tccIndex.username='bp'
tccIndex.password='bp-test'
tccIndex.charset='utf8mb4'
tccIndex.write.host='bp-test.db.appgc.cn:4066'
tccIndex.read.host[]='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
tccIndex.read.host[]='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
[order : common]
; 生产环境
[test-order : order : common]
[prod-order : order : common]
order.database_type='mysql'
order.database_name='order'
order.connect_timeout=2
......@@ -150,8 +238,43 @@ zhiyue.write.host='zhiyue-slave.db.appgc.yidian-inc.com:4066'
zhiyue.read.host='zhiyue-slave.db.appgc.yidian-inc.com:4066'
; 预发环境
[perf-order : prod-order : order : common]
; 测试环境
[test-order : order : common]
order.database_type='mysql'
order.database_name='order_test'
order.connect_timeout=2
order.username='bp'
order.password='bp-test'
order.charset='utf8mb4'
order.write.host='bp-test.db.appgc.cn:4066'
order.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 生活号 接龙拼单 骑手排线功能开发 @耿鸿飞 @2021-7-21 待生活号重构完毕后会删除该配置
commerce.database_type='mysql'
commerce.database_name='commerce'
commerce.connect_timeout=2
commerce.username='commerce_rw'
commerce.password='zhd8IJZdpAgxyvc6EVPP3VG8'
commerce.charset='utf8mb4'
commerce.write.host='commerce.db.appgc.yidian-inc.com:4066'
commerce.read.host='commerce.db.appgc.yidian-inc.com:4066'
; 生活号 接龙拼单 用户信息
zhiyue.database_type='mysql'
zhiyue.database_name='zhiyue'
zhiyue.connect_timeout=2
zhiyue.username='zhiyue_ro'
zhiyue.password='s5JEh#FUvX%7P3sO9ZDQw&cpH$Xr8Q'
zhiyue.charset='utf8mb4'
zhiyue.write.host='zhiyue-slave.db.appgc.yidian-inc.com:4066'
zhiyue.read.host='zhiyue-slave.db.appgc.yidian-inc.com:4066'
; 开发联调测试
[dev-order : order : common]
......@@ -159,7 +282,7 @@ zhiyue.read.host='zhiyue-slave.db.appgc.yidian-inc.com:4066'
[pay : common]
; 生产环境
[test-pay : pay : common]
[prod-pay : pay : common]
pay.database_type='mysql'
pay.database_name='pay'
pay.connect_timeout=2
......@@ -169,13 +292,29 @@ pay.charset='utf8mb4'
pay.write.host='10.9.99.132:3306'
pay.read.host='10.9.99.132:3306'
; 预发环境
[perf-pay : prod-pay : pay : common]
; 测试环境
[test-pay : pay : common]
pay.database_type='mysql'
pay.database_name='pay_test'
pay.connect_timeout=2
pay.username='bp'
pay.password='bp-test'
pay.charset='utf8mb4'
pay.write.host='bp-test.db.appgc.cn:4066'
pay.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 联调环境
[dev-pay : pay : common]
[account : common]
; 生产环境
[test-account : account : common]
[prod-account : account : common]
account.database_type='mysql'
account.database_name='account'
account.connect_timeout=2
......@@ -185,13 +324,28 @@ account.charset='utf8mb4'
account.write.host='10.9.99.132:3306'
account.read.host='10.9.99.132:3306'
; 预发环境
[perf-account : prod-account : account : common]
; 测试环境
[test-account : account : common]
account.database_type='mysql'
account.database_name='account_test'
account.connect_timeout=2
account.username='bp'
account.password='bp-test'
account.charset='utf8mb4'
account.write.host='bp-test.db.appgc.cn:4066'
account.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 联调环境
[dev-account : account : common]
[wallet : common]
; 生产环境
[test-wallet : wallet : common]
[prod-wallet : wallet : common]
wallet.database_type='mysql'
wallet.database_name='wallet'
wallet.connect_timeout=2
......@@ -202,11 +356,27 @@ wallet.write.host='10.9.99.132:3306'
wallet.read.host='10.9.99.132:3306'
; 预发环境
[perf-wallet : prod-wallet : wallet : common]
; 测试环境
[test-wallet : wallet : common]
wallet.database_type='mysql'
wallet.database_name='wallet_test'
wallet.connect_timeout=2
wallet.username='bp'
wallet.password='bp-test'
wallet.charset='utf8mb4'
wallet.write.host='bp-test.db.appgc.cn:4066'
wallet.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 联调环境
[dev-wallet : wallet : common]
[coupon : common]
; 生产环境
[test-coupon : coupon : common]
[prod-coupon : coupon : common]
coupon.database_type='mysql'
coupon.database_name='coupon'
coupon.connect_timeout=2
......@@ -216,3 +386,51 @@ coupon.charset='utf8mb4'
coupon.write.host='10.9.99.132:3306'
coupon.read.host='10.9.99.132:3306'
; 预发环境
[perf-coupon : prod-coupon : wallet : common]
; 测试环境
[test-coupon : coupon : common]
coupon.database_type='mysql'
coupon.database_name='coupon_test'
coupon.connect_timeout=2
coupon.username='bp'
coupon.password='bp-test'
coupon.charset='utf8mb4'
coupon.write.host='bp-test.db.appgc.cn:4066'
coupon.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 联调环境
[dev-coupon : coupon : common]
[shq-c-server : common]
; 生产环境
[prod-shq-c-server : shq-c-server : common]
shqc.database_type='mysql'
shqc.database_name='shqc'
shqc.connect_timeout=2
shqc.username='bp_shqc_rw'
shqc.password='wNC@zFJzPf1yM$Cv8yB8#AO3i&Ecgx'
shqc.charset='utf8mb4'
shqc.write.host='w.bp_shqc.int.yidian-inc.com:3306'
shqc.read.host='r.bp_shqc_1.int.yidian-inc.com:3306,r.bp_shqc_2.int.yidian-inc.com:3306'
; 预发环境
[perf-shq-c-server : prod-shq-c-server : shq-c-server : common]
; 测试环境
[test-shq-c-server : shq-c-server : common]
shqc.database_type='mysql'
shqc.database_name='shqc_test'
shqc.connect_timeout=2
shqc.username='bp'
shqc.password='bp-test'
shqc.charset='utf8mb4'
shqc.write.host='bp-test.db.appgc.cn:4066'
shqc.read.host='bp-test.db.appgc.cn:4066,bp-test.db.appgc.cn:4066'
; 联调环境
[dev-shq-c-server : shq-c-server : 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