This is the command db.dropdbgrass 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.dropdb - Removes an existing database.
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
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog
Parameters:
driver=name [required]
Name of database driver
Options: mysql, odbc, sqlite, pg, ogr, dbf
Default: sqlite
database=name [required]
Name of database
DESCRIPTION
db.dropdb removes an existing database using given database driver. Currently only SQLite
and PostgreSQL database drivers are supported.
EXAMPLES
Drop (delete) an existing database connected through SQLite driver
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
Drop an existing database connected through PostgreSQL driver
db.dropdb driver=pg database=grassdb
TODO
Support other database drivers, too.
Use db.dropdbgrass online using onworks.net services