Thread: Connecting to remote Database

Connecting to remote Database

From
"Senthil Jegadeesan"
Date:
I have to connect to a postgresql postmaster running in a system in the same nerwork.I started the postmaster with -i
optionand I changed the pg_hba.conf file to allow that system.but when using psql it tell user senthil not found(in
server).senthilis my log in name for the client.I can not connect it through pgtcl.Can any body help me out for
connectingthrough pgtcl.Is there any other way to connect without changing pg_hba.conf file?please reply
this....AdvancedThanks for the replies :-) 
--
India.com free e-mail - www.india.com.
Check out our value-added Premium features, such as an extra 20MB for mail storage, POP3, e-mail forwarding, and
ads-freemailboxes! 

Powered by Outblaze

Re: Connecting to remote Database

From
mike g
Date:
Hello,

Did you remember to create your account in the database that you are
connecting to.  Unless that database is a copy of the one you normally
connect to your user name won't exist in it.

Mike
On Thu, 2004-08-05 at 23:25, Senthil Jegadeesan wrote:
> I have to connect to a postgresql postmaster running in a system in the same nerwork.I started the postmaster with -i
optionand I changed the pg_hba.conf file to allow that system.but when using psql it tell user senthil not found(in
server).senthilis my log in name for the client.I can not connect it through pgtcl.Can any body help me out for
connectingthrough pgtcl.Is there any other way to connect without changing pg_hba.conf file?please reply
this....AdvancedThanks for the replies :-)