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

[eluser]paynterc[/eluser]
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.
#2

[eluser]stuffradio[/eluser]
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?
#3

[eluser]Lone[/eluser]
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.
#4

[eluser]majidmx[/eluser]
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.

Thanks,




Theme © iAndrew 2016 - Forum software by © MyBB