Steps:
- $ brew update
- $ brew doctor
- $ brew install postgresql
Start or Stop postgresql
THEN for MAC creating default db failed, so use command
$ createdb
after that you can login to psql using
$ psql
You can also setup database to specific folder using:
To exit the psql command line use:
CTRL + D
Ei kommentteja:
Lähetä kommentti