Welcome Guest, Not a member yet? Register   Sign In
Closing Connections

Does CI close connections automatically when queries are done? In my process list, I seem to have a lot of open (sleeping) connections for the same user and they're all for my CI application.

Once the script is done executing the database connection is supposed to be closed automatically. So maybe you had put an infinite loop in or something?

I think this is the issue you are talking about..

Stopping mysql too many connections errors

Its to do with CI using persistant connections for mySQL by default.

has anyone used this and get a better result ?
Please let me know, I switched the pconnect to off and I'm trying to see the results.


Theme © iAndrew 2016 - Forum software by © MyBB