Re: MYSQL 8.0.18 xdev, total connections are keeps increasing
Posted by: Subramanyam Vummethala
Date: October 19, 2021 04:16AM

Hello Filipe Silva,

"It seems to me you don't ever close the Client object. As such, you never really close the sessions."
- My idea behind this was that,
Create a Client object from Factory
Get the session and close after use
I also see that we are not closing the Client abject at all and that may be causing the problem,
So, when I execute each query, everytime, I create a new Client object from factory and close the client object after the use?
Please Suggest.

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.