Z
Z
zhivulinal2020-05-03 01:30:41
PostgreSQL
zhivulinal, 2020-05-03 01:30:41

Commands do not work in mac os terminal: CREATE, DROP... How to solve?

When entering commands:
postgres=# CREATE DATABASE DB_NAME;
CREATE DATABASE

I get an error:
zsh: command not found: CREATE

How to cure, who knows?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
DevMan, 2020-05-03
@zhivulinal

these commands need to be run in the postgres console, not the macos.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question