• Ivy Seo

Open psql terminal for Postgresql

Environment: Ubuntu


1) Open terminal

2)

- To enter psql mode:

> ivy@ivy-Ubuntu:~$ psql --host=example.postgres.database.azure.com --port=5432 --username=USERNAME --dbname=DBNAME


- log in as postgres(super user) ivy@ivy-Ubuntu:~$ psql -U postgres -h localhost