Update shard.conf.example

This commit is contained in:
wangbin 2018-10-16 16:35:39 +08:00 committed by GitHub
parent e5079997fd
commit d61519f170
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5,6 +5,9 @@ daemon=true
# Loaded Plugins
plugins=shard,admin
# Defines the number of worker processes.
worker-processes=1
# Proxy Configuration, For eaxmlpe: MySQL master host ip is 192.0.0.1 and salve host ip is 192.0.0.2
proxy-address=0.0.0.0:6001
proxy-backend-addresses=192.0.0.1:3306@data1,192.0.0.1:3307@data2,192.0.0.1:3308@data3,192.0.0.1:3309@data4