PostgreSQL server wouldn't shutdown on Lion (Mac OS 10.7)

后端 未结 4 1177
深忆病人
深忆病人 2020-12-22 19:06

I installed PostgreSQL using Homebrew on Lion. It starts okay but wouldn\'t shutdown. I tried:

$ #started with
$ pg_ctl -D /usr/local/var/postgres -l /usr/lo         


        
4条回答
  •  暖寄归人
    2020-12-22 19:25

    This works for me

     pg_ctl -D /Library/PostgreSQL/9.2/data/ start
     pg_ctl -D /Library/PostgreSQL/9.2/data/ stop

    Source https://sites.google.com/site/amaosblog/database/postgresql/how-to-start-stop-postgresql-9-2-on-mac-os-x-10-8-x

提交回复
热议问题