跳到主要内容

Install postgres on OSX

· 阅读需 1 分钟
Junlin Zhou

If you installed Postgres from homebrew, the default user postgres isn't automatically created, you need to run following command in your terminal:

/Applications/Postgres.app/Contents/Versions/9.*/bin/createuser -s postgres