docker pull shardingsphere/shardingsphere-proxyto get the image. Please refer to Docker Image for more details.
conf/server.yamland documents begin with
conf/config-xxx.yamlfor example, to configure sharding rules and readwrite-splitting rules. Please refer to Configuration Manual for the configuration method.
bin/start.shfor Linux operating system; run
bin/start.batfor Windows operating system to start ShardingSphere-Proxy. To configure start port and document location, please refer to Quick Start.
psql -U root -h 127.0.0.1 -p 3307.
mysql -u root -h 127.0.0.1 -P 3307or
When developer need to use user-defined sharding algorithm, it can not configure via inline expression in YAML file simply, should use the way below to configure sharding algorithm.
conf/server.yamlto configure the registry center, authentication information and public properties.
config-prefix as a logic data source.