Google Answers Logo
View Question
 
Q: Postgresql 8 connection problem ( No Answer,   0 Comments )
Question  
Subject: Postgresql 8 connection problem
Category: Computers > Programming
Asked by: dhost-ga
List Price: $10.00
Posted: 09 Aug 2005 17:57 PDT
Expires: 10 Aug 2005 08:36 PDT
Question ID: 553802
I have Postgresql 8 running on Windows 2000 Pro.  I copied my DB as
complete folders from one machine to the next.  Postgresql docs and
others say it should work as no Dump/Restore is required for version
8.

PgAdmin can see the Server and successfully start the server.

Connecting to the Server always results in:

'could not connect to server: Connection refused (0x0000274D/10061)
 is the server running on host "127.0.0.1" and accepting
 TCP/IP connections on Port 5432?'

What I've Done to Troubleshoot:

1) Tried inserting 'tcpip_socket = true' into postgresql.conf - then
the server wouldn't even start.  Removed it and server started but
still no connection.

2) Tried various changes is pg_hba.conf - but the current config
worked perfectly on the last machine.

3) I looked into the pg_ident.conf and I think this may be the key. 
On the old machine, the computer username and/or password may have
been different for the computer User account.  I'm not familiar with
mapping and wouldn't know what usernames/passwords to put where - but
this seems like it may be the area to focus on.

Question:  How should I proceed to solve this?

Request for Question Clarification by sublime1-ga on 09 Aug 2005 20:52 PDT
dhost...

Scroll down to the section on 'The pg_ident.conf file'
on this page. It spells out how to set up usernames:
http://www.faqs.org/docs/ppbook/c15679.htm

Let me know where this takes you...

sublime1-ga

Clarification of Question by dhost-ga on 10 Aug 2005 08:36 PDT
Thank you, but this didn't seem to get me there.
Answer  
There is no answer at this time.

Comments  
There are no comments at this time.

Important Disclaimer: Answers and comments provided on Google Answers are general information, and are not intended to substitute for informed professional medical, psychiatric, psychological, tax, legal, investment, accounting, or other professional advice. Google does not endorse, and expressly disclaims liability for any product, manufacturer, distributor, service or service provider mentioned or any opinion expressed in answers or comments. Please read carefully the Google Answers Terms of Service.

If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you.
Search Google Answers for
Google Answers  


Google Home - Answers FAQ - Terms of Service - Privacy Policy