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 3307.
gsql -U root -h 127.0.0.1 -p 3307.
Integrated ZooKeeper Curator client by default.
Same with ShardingSphere-JDBC. please refer to Distributed Transaction for more details.
When developer need to use user-defined algorithm, should use the way below to configure algorithm, use sharding algorithm as example.
META-INF/servicesdirectory in the
3307port in default. Users can start the script parameter as the start port number, like
conf/server.yamlto configure the registry center, authentication information and public properties.
config-prefix as a logic data source.