db.databases(1grass)
ποΈ NAME
db.databases β the girlies that list all the databases for a given driver and location. periodt.
π·οΈ KEYWORDS
database, attribute table, SQL π
β¨ SYNOPSIS β¨
db.databases
db.databases --help
db.databases [driver=name] [location=name] [--help] [--verbose] [--quiet] [--ui]
π© Flags
--helpβ prints the usage summary, bestie. like a lil cheat sheet π«Ά--verboseβ verbose module output (she's telling you EVERYTHING)--quietβ quiet module output (she's giving mysterious, silent, elegant)--uiβ forces launching the GUI dialog β¨
π Parameters
driver=nameβ name of the database driver Options:dbf,mysql,odbc,ogr,pg,sqliteDefault:sqliteπlocation=nameβ the location Path for SQLite driver, or connection string for PostgreSQL driver
π DESCRIPTION
okay so db.databases lists all the databases for a given driver β and optionally for a given location too. that's it, that's the whole vibe. simple, iconic, does exactly what it says on the tin.
π NOTES
Currently supported database drivers are SQLite, PostgreSQL, and ODBC. no cap.
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. that's just how she rolls π¦
πΈ 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 a database server running on a given port:
db.databases driver=pg location="host=server_name port=5333"
π SEE ALSO
db.columns, db.describe, db.drivers, db.execute, db.login, db.tables
GRASS SQL interface
π AUTHORS
Radim Blazek, ITC-Irst, Trento, Italy Updated for GRASS 7 by Martin Landa, Czech Technical University in Prague, Czech Republic
π₯ SOURCE CODE
Available at: db.databases source code (history)
Latest change: Friday Feb 07 19:16:09 2025 in commit: a82a39f673b97fafcfce1604dc3e6015cb96487a
Main index | Database index | Topics index | Keywords index | Graphical index | Full index
Β© 2003-2026 GRASS Development Team, GRASS 8.5.0 Reference Manual π
and that's the whole page bestie, GRASS 8.5.0 edition, db.databases(1grass), go forth and list those databases. slay π
β¨π
π¦ where this page comes from
- alpine 3.24: grass-gis-doc 8.5.0-r1 Β· GPL-2.0-or-later
- ubuntu stonking: grass-doc 8.5.0-1ubuntu1 Β· 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