How can i delete the mysql process which is not used any more?
I am creating 1000 sql connection and some are not in use any more. I want to delete all the unused process.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should modify the client application so it closes its connections when they are not needed.
Leaving connections open for a long time is usually counter-productive, it’s often done as a (misguided, premature) optimisation. It causes problems because:
It is much better to close connections as soon as you’re finished with them, in the general case.