Quantcast
Channel: MySQL Forums - Connector/J, JDBC and Java
Viewing all articles
Browse latest Browse all 884

MYSQL 8.0.18 xdev, total connections are keeps increasing (no replies)

$
0
0
We are using mysql document store ver 8.0.18.
Connecting to server from Java springboot
I have Created connection as mentioned in the sample.

Problem: In the MYSQL workbench, Administrator Client Connections, total connections is getting increased continuously. Connections count is not coming down even after calling client.close().
Please let me know if I am missing something.

ClientFactory cf = new ClientFactory();
//Obtain Client from ClientFactory
Client cli = cf.getClient(this.baseUrl, "{\"pooling\":{\"enabled\":true, \"maxSize\":8,
\"maxIdleTime\":30000, \"queueTimeout\":10000} }");
Session sess = cli.getSession();
//Use Session as usual
//Close Client after use
cli.close();

Viewing all articles
Browse latest Browse all 884

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>