.TH db.dropdb 1grass "" "GRASS 7.8.5" "GRASS GIS User's Manual" .SH NAME \fI\fBdb.dropdb\fR\fR \- Removes an existing database. .SH KEYWORDS database, attribute table, SQL .SH SYNOPSIS \fBdb.dropdb\fR .br \fBdb.dropdb \-\-help\fR .br \fBdb.dropdb\fR \fBdriver\fR=\fIname\fR \fBdatabase\fR=\fIname\fR [\-\-\fBhelp\fR] [\-\-\fBverbose\fR] [\-\-\fBquiet\fR] [\-\-\fBui\fR] .SS Flags: .IP "\fB\-\-help\fR" 4m .br Print usage summary .IP "\fB\-\-verbose\fR" 4m .br Verbose module output .IP "\fB\-\-quiet\fR" 4m .br Quiet module output .IP "\fB\-\-ui\fR" 4m .br Force launching GUI dialog .SS Parameters: .IP "\fBdriver\fR=\fIname\fR \fB[required]\fR" 4m .br Name of database driver .br Options: \fIdbf, mysql, odbc, ogr, pg, sqlite\fR .br Default: \fIsqlite\fR .IP "\fBdatabase\fR=\fIname\fR \fB[required]\fR" 4m .br Name of database .SH DESCRIPTION \fIdb.dropdb\fR removes an existing database using given database \fBdriver\fR. Currently only SQLite and PostgreSQL database drivers are supported. .SH EXAMPLES .SS Drop (delete) an existing database connected through SQLite driver Note that the standard GRASS GIS SQLite database is by default found in the user\(cqs current mapset. This example shows an out\-of\-mapset database removal: .br .nf \fC db.dropdb driver=sqlite database=/opt/sqlite.db \fR .fi .SS Drop an existing database connected through PostgreSQL driver .br .nf \fC db.dropdb driver=pg database=grassdb \fR .fi .SH TODO Support other database drivers, too. .SH SEE ALSO \fI db.createdb, db.describe, db.droptable, db.execute, db.login, db.tables \fR .PP GRASS SQL interface .SH AUTHORS Radim Blazek, ITC\-Irst, Trento, Italy .br SQLite and PostgreSQL support by Martin Landa, Czech Technical University in Prague, Czech Republic .SH SOURCE CODE .PP Available at: db.dropdb source code (history) .PP Main index | Database index | Topics index | Keywords index | Graphical index | Full index .PP © 2003\-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual