DOKK / manpages / debian 10 / grass-doc / db.dropdb.1grass.en
db.dropdb(1grass) Grass User's Manual db.dropdb(1grass)

db.dropdb - Removes an existing database.

database, attribute table, SQL

db.dropdb
db.dropdb --help
db.dropdb driver=name database=name [--help] [--verbose] [--quiet] [--ui]


Print usage summary

Verbose module output

Quiet module output

Force launching GUI dialog


Name of database driver
Options: dbf, mysql, odbc, ogr, pg, sqlite
Default: sqlite

Name of database

db.dropdb removes an existing database using given database driver. Currently only SQLite and PostgreSQL database drivers are supported.

Note that the standard GRASS GIS SQLite database is by default found in the user’s current mapset. This example shows an out-of-mapset database removal:

db.dropdb driver=sqlite database=/opt/sqlite.db

db.dropdb driver=pg database=grassdb

Support other database drivers, too.

db.createdb, db.describe, db.droptable, db.execute, db.login, db.tables

GRASS SQL interface

Radim Blazek, ITC-Irst, Trento, Italy
SQLite and PostgreSQL support by Martin Landa, Czech Technical University in Prague, Czech Republic

Last changed: $Date: 2014-12-07 23:22:14 +0100 (Sun, 07 Dec 2014) $

Available at: db.dropdb source code (history)

Main index | Database index | Topics index | Keywords index | Graphical index | Full index

© 2003-2019 GRASS Development Team, GRASS GIS 7.6.0 Reference Manual

GRASS 7.6.0