Difference between revisions of "Connection Refused on Startup"

From Opentaps Wiki
Jump to navigationJump to search
(New page: == 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...)
 
m (Protected "Connection Refused on Startup": Sysop page [edit=sysop:move=sysop])
 
(No difference)

Latest revision as of 19:37, 15 May 2009

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.