Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hikariCP exception #123

Closed
chenleijava opened this issue Jul 28, 2014 · 2 comments
Closed

hikariCP exception #123

chenleijava opened this issue Jul 28, 2014 · 2 comments
Labels

Comments

@chenleijava
Copy link

hello,My English is poor,I do not know if Clears ,using hikaricp1.4.0 appears bug, normal use druid connection pool.

1

hiariCP config :

###################HikariDataSource#############################################
hikaricp.jdbc.driverClassName=com.mysql.jdbc.Driver

hikaricp.url= jdbc:mysql://115.28.134.193:3306/gameServer40?useUnicode=true&characterEncoding=UTF-8

hikaricp.url= jdbc:mysql://127.0.0.1:3306/gameServer40?useUnicode=true&characterEncoding=UTF-8
hikaricp.quratz_jdbc.url=jdbc:mysql://127.0.0.1:3306/quartz?useUnicode=true&characterEncoding=UTF-8
hikaricp.username=root

hikaricp.jdbc.driverClassName.pgsql=org.postgresql.Driver

hikaricp.url.pgsql=jdbc:postgresql:gameServer

hikaricp.quratz_jdbc.url.pgsql=jdbc:postgresql://localhost:5432//quartz?useUnicode=true&characterEncoding=UTF-8

hikaricp.username.pgsql=postgres

hikaricp.password=123456
hikaricp.connectionTestQuery= SELECT 1
hikaricp.connectionTimeout = 30000
hikaricp.idleTimeout = 600000
hikaricp.maxLifetime = 1800000

池连接数量

hikaricp.maximumPoolSize =100
hikaricp.minimumIdle =100

@brettwooldridge
Copy link
Owner

This is fixed in the development branch of HikariCP. You can verify whether it fixes your issue:

git clone https://github.com/brettwooldridge/HikariCP.git
cd HikariCP
cd hikaricp-java6
mvn install

In the target directory, you will find a jar HikariCP-java6-2.0.0-SNAPSHOT.jar. If you want to use a maven dependency, use HikariCP-java6 and version 2.0.0-SNAPSHOT.

@chenleijava
Copy link
Author

got it ,thanks very much !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants