MySQL Forums
Forum List  »  Newbie

Re: mysql connection confusion clear
Posted by: Syed Imran Ertaza
Date: November 07, 2021 06:38AM

@Peter Brawley
Thank you for your reply. I hope I understand it. Just One more thing to clear it properly.

As each request create each instance of loading the web page creates its own connection, my question is:
Does not it close the connection automatically if mysql connection does not close in the code, when I move from existing page to another page?

And second question is:
Is it good practice disconnecting DB in each page after completing all the mysql works?
Thank you

Options: ReplyQuote

Written By
Re: mysql connection confusion clear
November 07, 2021 06:38AM

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.