- In order to connect to a database you need to know the name of your target database, the host name and port number of the server and the user name.
- Use command line options, such as -d, -h, -p, and -U.
Syntax:
./psql -p 5444 -u <user> -d <db-name>
also see below
No comments:
Post a Comment