db.dropdb(1)
π db.dropdb β the GRASS GIS User's Manual page, but make it make sense
okay bestie, welcome to db.dropdb(1), straight out of the GRASS GIS User's Manual (yes, manual section 1, we're fancy). This is the little tool that β¨ yeets a whole database out of existence β¨. Buckle up.
πΈ NAME πΈ
db.dropdb β Removes an existing database. π that's it. that's the whole job.
π KEYWORDS π
database, attribute table, SQL
β¨ SYNOPSIS β¨
db.dropdb
db.dropdb --help
db.dropdb driver=name database=name [--help] [--verbose] [--quiet]
[--ui]
π¦ Flags:
--helpβ Print usage summary. (the "what do i even do here" button π«Ά)--verboseβ Verbose module output. (it will tell you everything, main character energy)--quietβ Quiet module output. (shhh. no thoughts, just vibes π€«)--uiβ Force launching GUI dialog. (for the girlies who like buttons instead of typing π )
π Parameters:
driver=name[required] β Name of database driver.- Options:
dbf,mesql,mysql,odbc,ogr,pg,sqlite - Default:
sqlite
- Options:
database=name[required] β Name of database. (the thing you're about to send to the shadow realm π³οΈ)
π DESCRIPTION π
so db.dropdb removes an existing database using given database driver. like, it's giving "delete but make it database". periodt.
β οΈ rn only SQLite and PostgreSQL database drivers are supported. the others are just standing there, looking pretty. no cap.
π EXAMPLES π
Drop (delete) an existing database connected through SQLite driver
ngl bestie, important lore here: 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
like it's literally living outside the mapset and we're still coming for it. iconic.
Drop an existing database connected through PostgreSQL driver
db.dropdb driver=pg database=grassdb
she's gone. bye girl π
π TODO π
Support other database drivers, too. (the to-do list is to-doing, we'll get there β¨)
π SEE ALSO π
db.createdb, db.describe, 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
we stan.
β SOURCE CODE β
Available at: db.dropdb source code (history)
Accessed: Saturday Jan 17 05:40:33 2026
Main index | Database index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2025 GRASS Development Team, GRASS GIS 8.4.2 Reference Manual
okay that's the whole page, mwah π this was GRASS 8.4.2 doing its thing for db.dropdb(1) β go forth and drop responsibly, bestie, and remember: dropping a database is forever, so double check before you hit enter. slay π«Άπ
π¦ where this page comes from
- fedora 44: grass 8.4.2-4.fc44 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms