README.md 715 字节
Newer Older
T
terrymanu 已提交
1
# sharding-sphere-example
张亮 已提交
2

T
terrymanu 已提交
3
Sharding-Sphere example.
张亮 已提交
4

T
terrymanu 已提交
5
Example for 1.x please see tags in `https://github.com/sharding-sphere/sharding-sphere/tree/${tag}/sharding-jdbc-example`
C
Chris Cao 已提交
6

T
terrymanu 已提交
7 8 9
Example for 2.x or 3.x please see tags in `https://github.com/sharding-sphere/sharding-sphere-example/tree/${tag}`

Please do not use `dev` branch to run your example, example of `dev` branch is not released yet. 
T
terrymanu 已提交
10 11 12

The manual schema initial script is in `https://github.com/sharding-sphere/sharding-sphere-example/blob/dev/src/resources/manual_schema.sql`, 
please execute it before you first run the example.
T
terrymanu 已提交
13 14

Please make sure master-slave data sync on MySQL is running correctly. Otherwise this example will query empty data from slave.