database server:
-CREATE DATABASE
- The response is the same as you would have gotten from running the
-
CREATE DATABASE SQL command.
underlying command:
$ createdb -p 5000 -h eden -E LATIN1 -e demo
-CREATE DATABASE "demo" WITH ENCODING = 'LATIN1'
-CREATE DATABASE
+CREATE DATABASE demo ENCODING 'LATIN1';
Shall the new role be a superuser? (y/n) n
Shall the new role be allowed to create databases? (y/n) n
Shall the new role be allowed to create more new roles? (y/n) n
-CREATE USER
$ createuser -h eden -p 5000 -S -D -R -e joe
CREATE ROLE joe NOSUPERUSER NOCREATEDB NOCREATEROLE INHERIT LOGIN;
-CREATE ROLE
Enter password for new role: xyzzy
Enter it again: xyzzy
CREATE ROLE joe PASSWORD 'xyzzy' SUPERUSER CREATEDB CREATEROLE INHERIT LOGIN;
-CREATE ROLE
In the above example, the new password isn't actually echoed when typed,
but we show what was typed for clarity. However the password
-
+
Getting Started
- This should produce as response:
-
-CREATE DATABASE
-
- If so, this step was successful and you can skip over the
+ If this produces no response then this step was successful and you can skip over the
remainder of this section.