Mac uninstall postgresql

broken image
broken image

Remove the PostgreSQL folder from the system Library:.Unfortunately, the root uninstaller doesn’t delete all PostgreSQL files, so you will need to remove them manually. Then follow the provided steps to remove the PostgreSQL and data folders. If the command runs the uninstaller, proceed to the next steps.Įnter the administrator password to launch the uninstaller. If you get the message that this file does not exist, then skip to the second PostgreSQL removal way.

broken image

Sudo /Library/PostgreSQL/9.1/uninstall-postgresql.app/Contents/MacOS/installbuilder.sh Open /Library/PostgreSQL/9.2/uninstall-postgresql.app After that run the uninstaller using the following command: For this, go to the Applications folder, open Utilities subfolder, and launch Terminal. If you installed Postgres with its Installer, then you can use the Terminal command line to remove Postgres. For this, click on the Elephant icon in the toolbar and select Shutdown server

broken image

Meaning, they will not let you correctly reinstall the software in the future.īefore you uninstall Postgres, you should stop the PostgreSQL server on your Mac. In this case, all the Postgre system service files will remain on your computer and keep cluttering up your disk space. Before we start, watch a short video how to uninstall PostgreSQL on Mac.ĭeleting PostgreSQL just by dragging-and-dropping it into the Trash is not the correct way to uninstall apps.

broken image