PostgreSQL: use database

Connect to the PostgeSQL via psql

[root@s ~]# su postgres
bash-4.4$ psql
psql (10.6)
Type "help" for help.

postgres=#

Connect to the database – \c

postgres=# \c quaded
You are now connected to database "quaded" as user "postgres".
quaded=#

One comment on “PostgreSQL: use database

Comments are closed.