penghuiy opened a new issue #2663: how to set datasource readonly
URL: https://github.com/apache/incubator-shardingsphere/issues/2663
 
 
   ## Question
   
   I have a data node with read-only permissions. I want to use sharding-proxy. 
, I found the Hikari pool called jdbc's setReadOnly method default. I got an 
exception. 
   ```
   Exception in thread "main" 
org.apache.shardingsphere.core.exception.ShardingException: Can not build data 
source, name is `ds1`.
   xxx
   xxx
   com.zaxxer.hikari.pool.HikariPool$PoolInitializationException: Failed to 
initialize pool: read-only mode can not be disabled.
   ```
   Did not find any place to configure datasource readonly

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to