Welcome Guest, Not a member yet? Register   Sign In
"mysqli::real_connect() Too many connections" after migration to CI3
#1

Hello,

I try to migrate my project from CI2.2 to CI3.0 and I get a DB error when I load a page :

Code:
mysqli::real_connect(): (HY000/1040): Too many connections

It appears when I set autoinit=TRUE to a database.

Did you already have this problem ?
Reply
#2

I've previously experienced this problem whilst using a shared hosting plan... literally too many connections to the MySQL server. This doesn't necessarily always related to just your hosting account but others also using it.

Have you tried the page since, are you still getting the same error?

Take a look at the MySQL FAQ: http://dev.mysql.com/doc/refman/5.5/en/t...tions.html
Jamie Bond
Full time International Development undergraduate.
Part time website developer.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB