psql: connect DBNAME. or in short: c DBNAME.
user_name=# CREATE DATABASE testdatabase; user_name=# c testdatabase