vijayendra mohan agrawal wrote:
> how do I connect to the database.
psql -h host [-p port] [-U username] database_name
OR
psql -h host [-p port] database_name username
psql --help for details of all the options.
One thing to remember - if you try to login from the database machine
and if you have restricted access to the database from localhost
(127.0.0.1) but not from the database machines network IP address, then
you must specify the host option with the local machines network IP address.
Jared