by ClvrNickname » Wed Sep 17, 2008 8:05 am
Followup question:
I copied the old database over like you said, but PT2 wouldn't recognize any databases. pgAdmin said the password was incorrect when I tried to connect to the 8.2 server. I don't know if I forgot it (I thought I knew what it was) or if something else is messed up, but I've been trying to work around it. Someone said to add the following to my pg_hba.conf file:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
local all postgres trust
pgAdmin can now connect to the server, but won't let me backup the database files, throwing the following error:
C:\Program Files (x86)\PostgreSQL\8.2\bin\pg_dump.exe -i -h localhost -p 5432 -U postgres -F c -b -v -f "PT2 backup" "POSTGRE2008"
pg_dump: [archiver (db)] connection to database "POSTGRE2008" failed: FATAL: no pg_hba.conf entry for host "::1", user "postgres", database "POSTGRE2008", SSL off
pg_dump: *** aborted because of error
When I try to run PostgreSQL database functions in PT2, I get:
Error #:1
Unable to connect to PostgreSQL (Port#:5432) to get the list of databases. The error was:
101 - SQLSTATE = 08001
FATAL: no pg_hba.conf entry for host "::1", user "postgres" database "template1", SSL off
Any ideas what I need to do to fix this? Could having 8.3 and 8.2 installed at the same time be causing trouble? Thanks.