RDS for PostgreSQL
Options | Note | Example |
Options | Note | Example |
-h | The private or public network address of the PostgreSQL instance. Description: For information on how to get the private or public address, refer to Connecting to an instance via private network and Applying for or releasing a public network address. | |
-p | Port number of the PostgreSQL instance. You can connect to PostgreSQL instances after adding IP address allowlists to the PostgreSQL instances. This topic describes how to connect to a PostgreSQL instance via the client and command line tool. You can connect to PostgreSQL instances after adding IP address allowlists to the PostgreSQL instances. This topic describes how to connect to a PostgreSQL instance via the client and command line tool. | 5432 |
-U | Account name in the PostgreSQL instance. | testuser |
-d | database name required for login Description: You can omit the "-d" and enter the database name only. | db01 |