From my terminal:
$ heroku pg:psql --app my-app
---> Connecting to HEROKU_POSTGRESQL_CYAN_URL (DATABASE_URL)
sh: psql: command not found
This means that you don't have the psql
command in your system. Try which psql
to confirm. If you have installed postgres, then it means that its bin
directory is not in your $PATH. If you haven't installed postgres yet, then install postgres and try again.
Run brew install postgres
and it should work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With