connect to a database using psql code example Example: psql connect to another database \c DBNAME \connect DBNAME