docker pull shardingsphere/shardingsphere-proxy
to get the image. Please refer to Docker Image for more details.conf/server.yaml
and documents begin with config-
prefix, conf/config-xxx.yaml
for example, to configure sharding rules and readwrite-splitting rules. Please refer to Configuration Manual for the configuration method.bin/start.sh
for Linux operating system; run bin/start.bat
for 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
.ext-lib/
.mysql -u root -h 127.0.0.1 -P 3307
or gsql
.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.
ShardingAlgorithm
interface.ext-lib/
folder.bin/start.sh 3308
.conf/server.yaml
to configure the registry center, authentication information and public properties.config-
prefix as a logic data source.