NAME
db.createdb - Creates an empty database.
KEYWORDS
database, SQL
SYNOPSIS
db.createdb
db.createdb help
db.createdb driver=name database=name [--verbose] [--quiet]
Parameters:
- driver=name
- Driver name
- Options: pg,odbc,mysql,ogr,dbf,sqlite
- database=name
- Database name
DESCRIPTION
db.createdb allows the user to create a new empty database through
different drivers. A working database connection needs to be established.
EXAMPLE
Create a new PostgreSQL database (if PostgreSQL connection is established
through odbc driver)
db.createdb driver=odbc database=grass60test
Create a new PostgreSQL database (if PostgreSQL connection is established
through pg driver)
db.createdb driver=pg database='host=pgserver.itc.it,dbname=grass60test'
SEE ALSO
db.columns,
db.describe,
db.drivers,
db.droptable,
db.execute,
db.login,
db.tables,
GRASS SQL interface
AUTHOR
Radim Blazek, ITC-Irst, Trento, Italy
Last changed: $Date: 2011-01-14 14:11:41 -0800 (Fri, 14 Jan 2011) $
Main index - database index - Full index
© 2003-2011 GRASS Development Team