This page is a random collection of notes addressed to myself. Nothing here is intended as a guide per say, however i have posted them hoping that it may help someone.
Blog about Computers and everything related. Things that doesn't fit to my other blogs. Hopefully this is it. Everything in this blog can be copied or edited GNU General Public License (version 2 or newer) http://www.gnu.org/licenses/gpl.html
keskiviikko 14. syyskuuta 2016
PostgreSQL on Mac OSX
Installing postgreSQL was so hard for mac. Because there are zero complete tutorials?? Or they require I know postgreSQL commands beforehand. This tutorial is for total noob.
$ brew update
$ brew doctor
$ brew install postgresql
Start or Stop postgresql
$ brew services start postgresql
$ brew services stop postgresql
THEN for MAC creating default db failed, so use command
after that you can login to psql using
You can also setup database to specific folder using: