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

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: ruby pg connection fails on centos - okay on debian and dev machine
Дата
Msg-id 4583b631-1fb1-9cba-2e45-4f3aee48e105@aklaver.com
обсуждение исходный текст
Ответ на ruby pg connection fails on centos - okay on debian and dev machine  ("john.tiger" <john.tigernassau@gmail.com>)
Ответы Re: ruby pg connection fails on centos - okay on debian and dev machine  ("john.tiger" <john.tigernassau@gmail.com>)
Список 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.klaver@aklaver.com


В списке pgsql-general по дате отправления:

Предыдущее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: ruby pg connection fails on centos - okay on debian and dev machine
Следующее
От: "Mike Sofen"
Дата:
Сообщение: Re: Function PostgreSQL 9.2