PG: Psql Assign DB


Iterm run psql command then throw the psql: FATAL: database “<user>” does not exist, Specifying the db for psql command can work psql dbname, but i want enter the console that have all db.


The psql command will enter default db that is username, want enter all db console you can add -d postgres option.


[psql: FATAL: database “” does not exist](