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


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.