![]() |
please advice me about how to stop multiple db connection - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: please advice me about how to stop multiple db connection (/showthread.php?tid=41853) |
please advice me about how to stop multiple db connection - El Forum - 05-18-2011 [eluser]basementDUDE[/eluser] I was told that my application use too many db connection by our hosting company. My problem is I NEVER create a single db connection manually, its all managed by CI.How did it happen?? Any way I trouble shoot this problem? Maybe set pconnect to false(Whether to use a persistent connection) in the db config file? maybe I shoud put Code: $this->db->close(); thanks |