Correct PostgreSQL functionality

51 Views Asked by At

I have installed Postgres.app in Mac, and I have set the PATH variable to run the psql command.

enter image description here

Now I would like to create a new user and new database for a project that I'm creating. Nevertheless, when I execute a new command in terminal, it doesn't prompt me anything, and I don't know if my command was executed correctly.

Even if I write dummy words, it doesn't tell me anything:

enter image description here

Also, if I want to enter to the postgres user, it doesn't allow me, sending me the next error:

enter image description here

Does anyone know what is happening?.

Regards.

1

There are 1 best solutions below

0
On

You have to append ; to each of your PostgreSQL - commands.