Reputation: 120
I forgot how I install postgresql before.
and now I have removed it by following this steps https://stackoverflow.com/a/9240197/12381565 .
But my postgresql user didn't gone from the taskbar,
although in my user preference is doesn't have it, so I can't remove it again in the preference.
Maybe I deleted it once, but I forgot about it.
thank you.
Upvotes: 7
Views: 6552
Reputation: 1
Execute in terminal: 'sudo rm -rf /Library/Postgresql'
Restart your computer after the execution
Upvotes: 0
Reputation: 120
Fixed now.
When I re-check again with pgAdmin4, I see the server with the same name of this user PostgreSQL
.
I try to delete it, and now it's gone.
Upvotes: 1
Reputation: 121
Try this in terminal:
sudo /usr/bin/dscl . -delete /Users/postgres
sudo /usr/bin/dscl . -delete /Users/_postgres
than reboot mac.
Upvotes: 12