upgrade to 3.1.0
25 files changed
tree: b565b09863a49f1c71b4296cd150eab65677000d
  1. .github/
  2. common-repository/
  3. example-utility/
  4. sharding-jdbc-example/
  5. sharding-proxy-example/
  6. src/
  7. .gitignore
  8. LICENSE
  9. pom.xml
  10. README.md
README.md

sharding-sphere-example

Sharding-Sphere example.

Example for 1.x please see tags in https://github.com/sharding-sphere/sharding-sphere/tree/${tag}/sharding-jdbc-example

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.

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.

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