Connect to PostgreSQL Database
www.postgresqltutorial.com › connect-to-postgresqlFirst, launch the psql program and connect to the PostgreSQL Database Server using the postgres user: Second, enter all the information such as Server, Database, Port, Username, and Password. If you press Enter, the program will use the default value specified in the square bracket [] and move the cursor to the new line.