postgresql - using"psql -U postgres" ,it told me that "role postgres not exist"? -


Before this problem, I have a harbor conflict in 5432. (This is because I install it from a binary package which is a user "Postgres" in my Mac and this user starts another postmaster. Then I stop it) Solve the problem above, it turns out .

I install it using the default settings.

How can I deal with it?

Thank you for your reply ...

Tell you more like this How it's working for you:

sudo -u postgres psql


Comments