Created
March 19, 2012 05:38
-
-
Save lxneng/2097212 to your computer and use it in GitHub Desktop.
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 characters
~ sudo -u postgres sh | |
$ createuser -P eric | |
Enter password for new role: | |
Enter it again: | |
Shall the new role be a superuser? (y/n) y | |
$ psql postgres | |
psql (9.1.3) | |
Type "help" for help. | |
postgres=# create database eric encoding 'UTF-8'; | |
CREATE DATABASE | |
postgres=# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment