db.databases1grass
Lists all databases for a given driver and location.
Usage
db.databases
db.databases --help
db.databases [driver=name]
[location=name]
[--help]
[--verbose]
[--quiet]
[--ui]
Keywords
database, attribute table, SQL
Overview
db.databases lists all databases for a given driver and optionally location.
Notes
Currently supported database drivers are SQLite, PostgreSQL, and ODBC.
Default location for SQLite driver is the full path for the current mapset. For PostgreSQL driver it’s empty connection string.
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"
Source code
Available at: db.databases source code (history)
Accessed: Monday Feb 24 17:50:22 2025
Main index | Database index | Topics index | Keywords index | Graphical index | Full index
© 2003-2025 GRASS Development Team, GRASS GIS 8.4.1 Reference Manual
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.