You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/03/28 06:30:37 UTC
[GitHub] [incubator-shardingsphere] wgy8283335 commented on issue #2114:
Where can I find detailed documentation on shardingsphere configuration
wgy8283335 commented on issue #2114: Where can I find detailed documentation on shardingsphere configuration
URL: https://github.com/apache/incubator-shardingsphere/issues/2114#issuecomment-477466594
@lklkxcxc ,you could find the answer in incubator-shardingsphere-example.
https://github.com/apache/incubator-shardingsphere-example.
take a look at application-sharding.properties document of the example
as below
sharding.jdbc.datasource.ds_0.type=org.apache.commons.dbcp.BasicDataSource
sharding.jdbc.datasource.ds_0.driver-class-name=com.mysql.jdbc.Driver
sharding.jdbc.datasource.ds_0.url=jdbc:mysql://10.8.29.93:30306/demo_ds_0
sharding.jdbc.datasource.ds_0.username=root
sharding.jdbc.datasource.ds_0.password=root
sharding.jdbc.datasource.ds_1.type=org.apache.commons.dbcp.BasicDataSource
sharding.jdbc.datasource.ds_1.driver-class-name=com.mysql.jdbc.Driver
sharding.jdbc.datasource.ds_1.url=jdbc:mysql://10.8.29.93:30306/demo_ds_1
sharding.jdbc.datasource.ds_1.username=root
sharding.jdbc.datasource.ds_1.password=root
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services