Coldfusion 9 losing connection to MySQL 5 database server after a couple of weeks
we've been running coldfusion on 10 years. earlier problems we've managed fix. 1 don't seem able fix.
we following coldfusion error message after our server have been running couple of weeks:
error executing database query.could not create connection database server. attempted reconnect 3 times
we run coldfusion enterprise 9.0.1 on 1 year old xserver snow leopard , mysql 5 server has ten dsn set in coldfusion administrator local, default advanced settings, , host set "localhost" server not under heavy load.
the strange thing after restart of server, works fine. after week or so, databases stop working, in sense coldfusion cannot create connection them. if go coldfusion administrator , click "verify datasources", 2 or 3 got verified, other ones failed, , same datasources can't verified when server starts behave if try verify again, not neccessary same datasources couldn't verified last time server behaved this.
i know setting "max_connections" , have included line setting in mysql config file , set 2000, , when read query says "2000", can't problem.
anyone?
we entered validation query of "select 1" our dsns in cf admin, , server has been running on month without issue.
so problem solved in way, nice why cf loosing connection.
More discussions in Database Access
adobe
Comments
Post a Comment