Connection Refused on Startup
From Opentaps Wiki
Revision as of 19:37, 15 May 2009 by Oandreyev (talk | contribs) (Protected "Connection Refused on Startup": Sysop page [edit=sysop:move=sysop])
Can't connect to database: Connection refused
Using analytics in conjunction with MySQL database is quite well documented. But if you still see numerous Connection refused exception during startup you should check the database itself.
Open your my.cnf file (in /etc/ or /etc/mysql/) in a text editor and look for the line defining the 'bind-address' parameter. In some OS it can have assigned IP address of one of the local interfaces. In this case you can set this to 127.0.0.1 or disable/delete that line.