| От | Tom Lane |
|---|---|
| Тема | Re: postgres access via perl failing after upgrade |
| Дата | |
| Msg-id | 19142.965083581@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | postgres access via perl failing after upgrade ("Fetter, David M" <Fetter.David@emeryworld.com>) |
| Список | pgsql-general |
"Fetter, David M" <Fetter.David@emeryworld.com> writes:
> and import the database, however the perl scripts that we were using
> (written by somebody who's gone now) no longer work. I've traced the
> problem to the following line:
> $dbh = DBI->connect("dbi:Pg:dbname=$PGDB;host=$PGHOST;port=$PGPORT", , );
That will try to connect via TCP, so your problem might just be that you
didn't start the 7.0 postmaster with "-i" and/or didn't copy over your
old pg_hba.conf config file. (See nearby thread about PGAccess
connect problems.)
If it's not that, we'll need to know exactly why it's failing to
connect. There should be an error message coming out someplace ...
regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера