Helios – Could not connect to database

Uncategorized

Error connecting to database: “PG::ConnectionBad: could not connect to

server: Connection refused

Is the server running on host “localhost” (127.0.0.1) and accepting

TCP/IP connections on port 5432?

could not connect to server: Connection refused

Is the server running on host “localhost” (::1) and accepting

TCP/IP connections on port 5432?

could not connect to server: Connection refused

Is the server running on host “localhost” (fe80::1) and accepting

TCP/IP connections on port 5432?”

To fix this error I had to:

1) Install Postgresql on my machine using Homebrew.

2) Enter brew info postgres into the command line to receive help for postgres.

3) Run the line that this help doc said to run – postgres -D /usr/local/var/postgres

4) Then fire up Helios.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s