Created
October 9, 2015 11:06
-
-
Save ljones140/7c36e2f349450a2700bb to your computer and use it in GitHub Desktop.
Ubuntu Postgres set up for rails
This file contains 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 characters
WIll not work first of all as the ubuntu user needs to be given the permission to create databases. | |
in postgres \du will tell you what users you have and what their roles are | |
ALTER USER ubuntu WITH SUPERUSER; | |
When up and running there may a furtehr change required to change the encoding: | |
https://gist.github.com/amolkhanorkar-webonise/8706915 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment