USE:
psql -h <host> -p <port> -u <database>
psql -h <host> -p <port> -U <username> -W <password> <database>

read the man page

SV

----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 07, 2000 2:21 PM
Subject: [BUGS] How to connect to a remote database


> Martin Kuria ([EMAIL PROTECTED]) reports a bug with a severity of 2
> The lower the number the more severe it is.
>
> Short Description
> How to connect to a remote database
>
> Long Description
> This may be a dumb question, but how do I connect to a remote database
> using postgresql, or rather psql?
>
> I have  trouble connecting to the remote host, to access the database what
command should use to connect to the database in remote host in the prompt,
Thanks again.
>
> Thanks
>
> Martin
>
>
>
> Sample Code
>
>
> No file was uploaded with this report
>

Reply via email to