Connection Refused on Startup

From Opentaps Wiki

Jump to: navigation, search

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.



© 2008-2010 Open Source Strategies, Inc. Development of this documentation site is sponsored by Open Source Strategies, Inc.
Help support opentaps with a subscription to this documentation site.