db.databases(1)
π db.databases β the GRASS GIS User's Manual glow-up
okay bestie, welcome to db.databases(1), and no cap, this little icon is about to tell you every single database your driver knows about. she's the friend who has the group chat receipts for every database in the building. periodt. π
β¨ NAME β¨
db.databases β lists all databases for a given driver and location. yes, all of them. she's thorough like that. π
π·οΈ KEYWORDS π·οΈ
database, attribute table, SQL
(that's it, that's the vibe check β she's a database girlie through and through π¦)
π SYNOPSIS π
db.databases
db.databases --help
db.databases [driver=name] [location=name] [--help] [--verbose]
[--quiet] [--ui]
π© Flags π©
--helpβ prints the usage summary, aka the "what does this even do" button π--verboseβ verbose module output, she will over-share and you will love her for it π¬--quietβ quiet module output, the "no thoughts, just results" mode π€«--uiβ force launching GUI dialog, for when you want a whole window instead of a terminal β¨
ποΈ Parameters ποΈ
driver=nameβ name of database driver. Options:dbf,mesql,mysql,odbc,ogr,pg,sqlite. Default:sqliteπΎlocation=nameβ the location. For the SQLite driver this is a path, and for the PostgreSQL driver it's a connection string π
π DESCRIPTION π
db.databases lists all databases for a given driver, and optionally for a given location too. she's flexible, she's giving main character energy, she's literally just here to hand you the list. π
π NOTES π
Currently supported database drivers are SQLite, PostgreSQL, and ODBC. so cute, so curated. πΈ
The default location for the SQLite driver is the full path for the current mapset. For the PostgreSQL driver, it's an empty connection string. iykyk. π§
π EXAMPLES π
List SQLite databases in the current mapset:
db.databases driver=sqlite
List SQLite databases in a given directory:
db.databases driver=sqlite location=/opt/sqlite
List PostgreSQL databases from database server running on given port:
db.databases driver=pg location="host=server_name port=5333"
see how easy? she ATE. π₯
π SEE ALSO π
db.columns, db.describe, db.drivers, db.execute, db.login, db.tables
GRASS SQL interface
(the whole squad, fr fr β go say hi to all of them π«Ά)
π AUTHORS π
- Radim Blazek, ITC-Irst, Trento, Italy
- Updated for GRASS 7 by Martin Landa, Czech Technical University in Prague, Czech Republic
legends, honestly. π
π» SOURCE CODE π»
Available at: db.databases source code (history)
Accessed: Saturday Jan 17 05:40:33 2026
Main index | Database index | Topics index | Keywords index | Graphical index | Full index
and that's the whole page bestie, no notes, we understood the assignment πβ¨
okay so the sign-off: this is the GRASS 8.4.2 Reference Manual, Β© 2003-2025 GRASS Development Team, and you're reading db.databases(1) from GRASS 8.4.2. slay, go list some databases. π
π¦ 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