You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/01/17 02:04:14 UTC

[GitHub] [incubator-shardingsphere] tmjGitAccount edited a comment on issue #3964: Hintmanager databaseShardingOnly problem

tmjGitAccount edited a comment on issue #3964: Hintmanager  databaseShardingOnly problem
URL: https://github.com/apache/incubator-shardingsphere/issues/3964#issuecomment-574947233
 
 
   @KomachiSion 
   
   ```yaml
   spring:
     shardingsphere:
       props:
         sql:
           show: true
       sharding:
         default-database-strategy:
           hint:
             algorithm-class-name: com.a.b.c.OrderShardingAlgorithm
       datasource:
         names: dsa,dsb
         dsa:
           pool-name: dsa
           type: com.zaxxer.hikari.HikariDataSource
           driverClassName: com.mysql.jdbc.Driver
           jdbcUrl: xxx
           username: xxx
           password: xxx
         dsb:
           pool-name: dsb
           type: com.zaxxer.hikari.HikariDataSource
           driverClassName: com.mysql.jdbc.Driver
           jdbcUrl: xxx
           username: xxx
           password: xxx
   ```
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   
   

----------------------------------------------------------------
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