Codeigniter + Doctrine and too many mysql connections -


i running large scale website codeigniter , doctrine using rds master/slave dbs, reason keep running doctrine error of too many mysql hosts issue. error tells me flush mysql hosts , fix issue, , does, question is, else experiencing issue? if so, how getting around doesn't continually happen?

you in post title many mysql connections, in question many mysql hosts? if down many connections, changing following codeigniter default in database config file might help:

$db['default']['pconnect'] = false; 

it defaults true, meaning codeigniter uses persistent connections - can problem depending on how many simultaneous visitors have , webhost's mysql configuration.


Comments

Popular posts from this blog

Javascript line number mapping -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -