Closing Connections |
[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.
[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?
[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.
[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, |
Welcome Guest, Not a member yet? Register Sign In |