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 2021/12/28 09:13:05 UTC
[GitHub] [shardingsphere] zjcnb edited a comment on issue #14375: shardingsphere-jdbc.5.0.0:IllegalArgumentException: Class is not accepted: com.alibaba.druid.pool.DruidDataSource
zjcnb edited a comment on issue #14375:
URL: https://github.com/apache/shardingsphere/issues/14375#issuecomment-1001954927
@eschh19 Hi, you can refer to this configuration:
```
spring:
shardingsphere:
props:
sql-show: true
datasource:
ds-0:
jdbc-url: jdbc:mysql://127.0.0.1:13306/demo_primary_ds?serverTimezone=UTC&useSSL=false
username: root
password: 123456
type: com.zaxxer.hikari.HikariDataSource
driver-class-name: com.mysql.cj.jdbc.Driver
connectionTimeoutMilliseconds: 3000
idleTimeoutMilliseconds: 60000
maxLifetimeMilliseconds: 1800000
maxPoolSize: 50
minPoolSize: 1
```
--
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.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org