DESCRIPTION
db.createdb allows the user to create a new empty database
through different drivers. A working database connection needs to be
established, see db.login.
Currently only SQLite
and PostgreSQL database drivers are
supported.
EXAMPLES
Create a new SQLite file-based database
db.createdb driver=sqlite database=/opt/sqlite.db
Create a new PostgreSQL database
Create a new PostgreSQL database (if PostgreSQL connection is
established through odbc driver):
db.createdb driver=odbc database=grasstest
Create a new PostgreSQL database (if PostgreSQL connection is established
through pg driver):
db.createdb driver=pg database=grasstest
TODO
Support other database drivers too.
SEE ALSO
db.dropdb,
db.columns,
db.describe,
db.drivers,
db.droptable,
db.execute,
db.login,
db.tables
GRASS SQL interface
AUTHORS
Radim Blazek, ITC-Irst, Trento, Italy
SQLite and PostgreSQL support by Martin Landa, Czech Technical University in Prague, Czech Republic
Last changed: $Date$