Error max connection database |
Hi
I have error already has more than 'max_user_connections' active connections codeigniter in my project Do i have to upgrade my host or my programming is mistake? I use Restful and use limitation for controller with database also use api key with database Can they affect on database connections? Thanks
@omid_student,
What are your CI database connection settings? This is probably not a programming mistake. It is probably more of a database setting. Hopefully more on your end instead of the host's end.
If you are opening the database try closing the connection afterwards.
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(08-21-2019, 07:26 AM)php_rocs Wrote: @omid_student, My database setting is OK We understood one body try to execute special api that it was very unsecured Thanks
Thanks, I know that it will close it, I was not sure if he was using a custom
database access. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
Thanks guys,problem is host or my code
On of my function is send sms to user I think this function take 3 second for send it Can it affect on cpu? |
Welcome Guest, Not a member yet? Register Sign In |