Completely uninstall PostgreSQL 9.0.4 from Mac OSX Lion?

前端 未结 9 1066
难免孤独
难免孤独 2020-11-27 08:53

This question may look like a duplicate of: How to uninstall postgresql on my Mac (running Snow Leopard) however, there are two major differences. I\'m running Lion and I\'m

9条回答
  •  时光取名叫无心
    2020-11-27 09:21

    Uninstallation :

    sudo /Library/PostgreSQL/9.6/uninstall-postgresql.app/Contents/MacOS/installbuilder.sh
    

    Removing the data file :

    sudo rm -rf /Library/PostgreSQL
    

    Removing the configs :

    sudo rm /etc/postgres-reg.ini
    

    And thats it.

提交回复
热议问题