createdb
Creates new PostgreSQL databases
Syntax
$createdb [options] dbname
Optionen
-U
-E
-O
-T
Examples
Examples
$createdb mydb
Examples
$createdb -U postgres -E UTF8 mydb
Examples
$createdb -O appuser mydb
See also
Typical use cases
Note
Wrapper around SQL CREATE DATABASE; useful for CLI provisioning.
Export