Last active
December 17, 2015 09:59
-
-
Save fabianoalmeida/5591059 to your computer and use it in GitHub Desktop.
Revisions
-
fabianoalmeida revised this gist
May 16, 2013 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,7 @@ # Uninstall all versions http://stackoverflow.com/questions/8037729/completely-uninstall-postgresql-9-0-4-from-mac-osx-lion # Download .dmg from http://postgresapp.com/ # Unzip the file and copy do Applications folder # Run Postgres.app -
fabianoalmeida revised this gist
May 16, 2013 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ # Download .dmg from http://postgresapp.com/ # Unzip the file and copy do Applications folder # Run Postgres.app # After this action will appear an elephant on menu bar: Postgres server is running # Follow this steps from documentation: http://postgresapp.com/documentation#toc_1 # On command line execute $ psql -d postgres -
fabianoalmeida revised this gist
May 16, 2013 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,8 +1,8 @@ # Download .dmg from [http://postgresapp.com/](http://postgresapp.com/) # Unzip the file and copy do Applications folder # Run Postgres.app # After this action will appear an elephant on menu bar: Postgres server is running # Follow this steps from documentation: [http://postgresapp.com/documentation#toc_1](http://postgresapp.com/documentation#toc_1) # On command line execute $ psql -d postgres -
fabianoalmeida revised this gist
May 16, 2013 . 1 changed file with 9 additions and 4 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -4,11 +4,16 @@ # After this action will appear an elephant on menu bar: Postgres server is running # Follow this steps from documentation: http://postgresapp.com/documentation#toc_1 # On command line execute $ psql -d postgres # That will open the postgre command line # Will need create a new role to access the database. Execute postgres=# create role USER_NAME login createdb; postgres=# \q # Where USER_NAME must be your username to access the database # Try to connect on command line psql -d USER_NAME -
fabianoalmeida created this gist
May 16, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ # Download .dmg from http://postgresapp.com/ # Unzip the file and copy do Applications folder # Run Postgres.app # After this action will appear an elephant on menu bar: Postgres server is running # Follow this steps from documentation: http://postgresapp.com/documentation#toc_1 # On command line execute <code>$ psql -d postgres</code> # That will open the postgre command line # Will need create a new role to access the database. Execute <code>postgres=# create role USER_NAME login createdb;</code> <code>postgres=# \q</code> # Where USER_NAME must be your username to access the database # Try to connect on command line <code>psql -d USER_NAME</code>