-
Notifications
You must be signed in to change notification settings - Fork 11
Description
I'm a total newbie with Postgres, and am running into a problem with your instructions on how to load the mimic4 (1.0) data into the Postgres application running on Mac OS Monterey (on a new MacBook Pro). I've started the Postgres application, which seems to be running fine, and I can access it via pgAdmin. I can also connect to the database simply with
psql -U
or just
sql
However, when I follow the instruction:
createuser -P -s -e -d mimicuser #creat user
psql -U mimicuser #launch psql
I get the following error:
(base) psz@Osler ~ % psql -U mimicuser
psql: error: connection to server on socket "/tmp/.s.PGSQL.5432" failed: FATAL: database "mimicuser" does not exist
It seems that creating the user does not create a corresponding database. Or perhaps the Postgres app stores its linking files somewhere other than /tmp.
Some very basic help would be much appreciated. Thank you.