Welcome Guest, Not a member yet? Register   Sign In
Close Mysql connection
#1

[eluser]Nathan Payne[/eluser]
hey!

I am developing a site at the moment and relies alot on DB interactions, I am looking for a way to close the connections that are made.

I tried setting:

$db['default']['pconnect'] = FALSE;

But instead of closing the connection it keeps it open and just opens a new connection for further queries.

I would prefer to auto close connections on every page load to free up as many as possible.

I dont want to go through every query that I have just to do a close connection so I am willing to extend libraries if required.

Does anyone have a solution, or can you point me in the correct direction?


Messages In This Thread
Close Mysql connection - by El Forum - 09-28-2010, 04:46 AM
Close Mysql connection - by El Forum - 09-28-2010, 08:47 AM
Close Mysql connection - by El Forum - 09-28-2010, 09:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB