README.md 713 字节
Newer Older
ShardingSphere's avatar
ShardingSphere 已提交
1
# ShardingSphere-example
张亮 已提交
2

ShardingSphere's avatar
ShardingSphere 已提交
3
ShardingSphere example.
张亮 已提交
4

L
Liang Zhang 已提交
5
Example for 1.x please see tags in `https://github.com/apache/incubator-shardingsphere/tree/${tag}/sharding-jdbc-example`
C
Chris Cao 已提交
6

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

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

L
Liang Zhang 已提交
11
The manual schema initial script is in `https://github.com/apache/incubator-shardingsphere-example/blob/dev/src/resources/manual_schema.sql`, 
T
terrymanu 已提交
12
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.