How to use homebrew to downgrade postgresql from 10.1 to 9.6 on Mac OS [closed]

别等时光非礼了梦想. 提交于 2019-12-20 11:01:19

问题


My mac has postgresql 10.1 on it, and I need 9.6 for my work website to function on my local machine. Can't find easy instructions on how to uninstall or downgrade to 9.6. Any help would be appreciated!


回答1:


I got this issue as well after running brew upgrade. Following commands worked for me:

brew uninstall postgresql
brew install postgresql@9.6
brew services start postgresql@9.6
brew link postgresql@9.6 --force


来源:https://stackoverflow.com/questions/47294258/how-to-use-homebrew-to-downgrade-postgresql-from-10-1-to-9-6-on-mac-os

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!