db.databasesgrass - Online in the Cloud

This is the command db.databasesgrass that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


db.databases - Lists all databases for a given driver and location.

KEYWORDS


database, attribute table, SQL

SYNOPSIS


db.databases
db.databases --help
db.databases [driver=name] [location=name] [--help] [--verbose] [--quiet] [--ui]

Flags:
--help
Print usage summary

--verbose
Verbose module output

--quiet
Quiet module output

--ui
Force launching GUI dialog

Parameters:
driver=name
Name of database driver
Options: mysql, odbc, sqlite, pg, ogr, dbf
Default: sqlite

location=name
Location
Path for SQLite driver, or connection string for PostgreSQL driver

DESCRIPTION


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"

Use db.databasesgrass online using onworks.net services



Latest Linux & Windows online programs