Restore your shared memory settings: sudo rm /etc/nf Select the PostgreSQL user and click on the minus button.Unlock the settings panel by clicking on the padlock and entering your password. ![]() Remove the PostgreSQL user using System Preferences -> Users & Groups. Remove the ini file: sudo rm /etc/postgres-reg.ini The Wizard will notify you that these were not removed. It will ask for the administrator password and run the uninstaller. If you installed with the Postgres Installer, you can do: open /Library/PostgreSQL/9.2/uninstall-postgresql.app Run the uninstaller: sudo /Library/PostgreSQL/9.1/uninstall-postgresql.app/Contents/MacOS/installbuilder.sh Terminal is found in: Applications->Utilities->Terminal To remove the EnterpriseDB One-Click install of PostgreSQL 9.1: If /Library/Postgresql/ doesn't exist then you probably installed PostgreSQL with a different method like homebrew or Postgres.app. You most probably have to replace folder /9.1/ with your version number. The following is the un-installation for PostgreSQL 9.1 installed using the EnterpriseDB installer. PostgreSQL was most likely installed via Homebrew, Fink, MacPorts or the EnterpriseDB installer.Ĭheck the output of the following commands to determine which package manager it was installed with: brew & brew list|grep postgres Make sure tcp localhost connections are enabled in pg_hba.conf: # IPv4 local connections:Ĭheck the listen_addresses and port in nf:Įgrep 'listen|port' /usr/local/var/postgres/nf #listen_addresses = 'localhost' # What IP address(es) to listen on What is the result of pg_ctl -D /usr/local/var/postgres status?Īre there any error messages in the server.log? What is the result of pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start? "To have launchd start postgresql now and restart at login:" Pg_ctl -D /usr/local/var/postgres stop Start automatically Pg_ctl -D /usr/local/var/postgres start Stop manually For more information, run brew info postgres. ![]() The Homebrew package manager includes launchctl plists to start automatically.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |