db.dropdb
Removes an existing database.
- Provided by: grass-doc (Version: 8.5.0-1ubuntu1)
- Source: grass
- Report a bug
Removes an existing database.
database, attribute table, SQL
db.dropdb
db.dropdb --help
db.dropdb driver=name database=name
[--help] [--verbose] [--quiet] [--ui]
db.dropdb removes an existing database using given database driver. Currently only SQLite and PostgreSQL database drivers are supported.
Note that the standard GRASS 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
Available at: db.dropdb source code (history)
Latest change: Friday Aug 08 09:39:19 2025 in commit: ed72c71d8580e872cd6fd345c84a15c324764465
Main index | Database index | Topics index | Keywords index | Graphical index | Full index
© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual