Re: ruby pg connection fails on centos - okay on debian and dev machine

From: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
To: "john(dot)tiger" <john(dot)tigernassau(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: ruby pg connection fails on centos - okay on debian and dev machine
Date: 2016-05-04 00:18:19
Message-ID: 4583b631-1fb1-9cba-2e45-4f3aee48e105@aklaver.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 05/03/2016 05:07 PM, john.tiger wrote:
> our model.rb runs fine on a dev machine and a debian server but is
> failing on a new centos server - checked the postgres db name and user
> name and password - all seem fine

The error message is?

>
> could it be:
>
> host => "localhost"
>
> or maybe CORS ?

CORS as in:

https://en.wikipedia.org/wiki/Cross-origin_resource_sharing

or something else?

Have you tried connecting using psql with same parameters?

Have you looked at the pg_hba.conf files on the different platforms and
see if they differ?

>
>

--
Adrian Klaver
adrian(dot)klaver(at)aklaver(dot)com

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Sofen 2016-05-04 02:06:02 Re: Function PostgreSQL 9.2
Previous Message Joshua D. Drake 2016-05-04 00:13:20 Re: ruby pg connection fails on centos - okay on debian and dev machine