How completely uninstall PostgreSQL 9.X on Mac OSX

简介:

How completely uninstall PostgreSQL 9.X on Mac OSX

This article is referenced from stackoverflow:

If installed PostgreSQL with homebrew , enter brew uninstall postgresql

If you used the EnterpriseDB installer , follow the following step.

Run the uninstaller on terminal window

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

If installed with Postgres Installer, do:

open /Library/PostgreSQL/9.X/uninstall-postgresql.app

Remove the PostgreSQL and data folders. The Wizard will notify you that these were not removed.

sudo rm -rf /Library/PostgreSQL

Remove the ini file:

sudo rm /etc/postgres-reg.ini

Remove the PostgreSQL user using System Preferences -> Users & Groups.

  1. Unlock the settings panel by clicking on the padlock and entering your password.

  2. Select the PostgreSQL user and click on the minus button.

  3. Restore your shared memory settings: sudo rm /etc/sysctl.conf










本文转自 h2appy  51CTO博客,原文链接:http://blog.51cto.com/h2appy/1860812,如需转载请自行联系原作者
相关实践学习
使用PolarDB和ECS搭建门户网站
本场景主要介绍如何基于PolarDB和ECS实现搭建门户网站。
阿里云数据库产品家族及特性
阿里云智能数据库产品团队一直致力于不断健全产品体系,提升产品性能,打磨产品功能,从而帮助客户实现更加极致的弹性能力、具备更强的扩展能力、并利用云设施进一步降低企业成本。以云原生+分布式为核心技术抓手,打造以自研的在线事务型(OLTP)数据库Polar DB和在线分析型(OLAP)数据库Analytic DB为代表的新一代企业级云原生数据库产品体系, 结合NoSQL数据库、数据库生态工具、云原生智能化数据库管控平台,为阿里巴巴经济体以及各个行业的企业客户和开发者提供从公共云到混合云再到私有云的完整解决方案,提供基于云基础设施进行数据从处理、到存储、再到计算与分析的一体化解决方案。本节课带你了解阿里云数据库产品家族及特性。
目录
相关文章
在mac OSX中安装启动zookeeper(采用brew安装方式)
项目需要,所以,在mac OSX中安装了一下zookeeper。
1175 0
|
关系型数据库 数据库 PostgreSQL
mac电脑上docker中安装postgresql
前言: docker真是一个好东西,是码农开发调试的神器,以前还要自己配置开发、测试环境,安装过程繁琐,容易出错,耗时很多,用docker基本能够在5分钟搞定,而且一次配置,每个环境都能够无差别部署,省时省力。
5341 0
|
关系型数据库 数据库 PostgreSQL
使用 Docker 在 Windows、Mac 和 Linux 系统轻松部署 PostgreSQL 数据库
使用 Docker 在 Windows、Mac 和 Linux 系统轻松部署 PostgreSQL 数据库
963 1
|
NoSQL Shell MongoDB
Mac OSX 平台安装 MongoDB
10月更文挑战第11天
468 4
|
存储 NoSQL 数据可视化
Mac OSX 平台安装 MongoDB
Mac OSX 平台安装 MongoDB
395 0
Mac OSX 平台安装 MongoDB
|
Shell
Mac OSX终端安装主题(oh my zsh)
Mac OSX终端安装主题(oh my zsh)
759 0
Mac OSX终端安装主题(oh my zsh)
|
安全 Shell iOS开发
Mac OSX(Mac OS10.11) 安装 pwntools 失败的最新解决方案
Mac OSX(Mac OS10.11) 安装 pwntools 失败的最新解决方案
649 0
|
SQL 关系型数据库 Shell
Mac OS安装PostgreSQL数据库
Mac OS安装PostgreSQL数据库
664 0
Mac OS安装PostgreSQL数据库
|
关系型数据库 数据库 PostgreSQL
Mac下PostgreSQL的安装与简单使用
Mac下PostgreSQL的安装与简单使用
1136 0
|
存储 缓存 Devops
聪明的Mac osx本地云:同一生态的云硬件,云装机,云应用,云开发的完美集
本文关键字:native cloud,uniform cloud os and client os,利用PC打造云平台。caching as cloud, sync as cloud
806 0
聪明的Mac osx本地云:同一生态的云硬件,云装机,云应用,云开发的完美集