MyDNS Error MySQL has gone away

September 4th, 2007


MySQL has too many connections.


Lower the timeout on the mysql server.


MyDNS gets booted.


Add reconnect=1 in the my.cnf client section. Didn't work.

Solution that works:

I had port = 3308 in my my.cnf file, as mysql runs on that port locally. MyDNS on the other hand is connecting to another local mysql server on port 3306, and I was using ":3306" at the end of the host specification. For some reason, that caused problems. I switched the port in my.cnf back to 3306 and then removed the :3306 from the mydns.conf file and things seem to be working better.

Yearly Indexes: 2003 2004 2006 2007 2008 2009 2010 2011 2012 2013 2015 2019 2020 2022