1db.dropdb(1)                GRASS GIS User's Manual               db.dropdb(1)
2
3
4

NAME

6       db.dropdb  - Removes an existing database.
7

KEYWORDS

9       database, attribute table, SQL
10

SYNOPSIS

12       db.dropdb
13       db.dropdb --help
14       db.dropdb  driver=name  database=name  [--help]  [--verbose]  [--quiet]
15       [--ui]
16
17   Flags:
18       --help
19           Print usage summary
20
21       --verbose
22           Verbose module output
23
24       --quiet
25           Quiet module output
26
27       --ui
28           Force launching GUI dialog
29
30   Parameters:
31       driver=name [required]
32           Name of database driver
33           Options: dbf, mesql, mysql, odbc, ogr, pg, sqlite
34           Default: sqlite
35
36       database=name [required]
37           Name of database
38

DESCRIPTION

40       db.dropdb removes an existing database  using  given  database  driver.
41       Currently only SQLite and PostgreSQL database drivers are supported.
42

EXAMPLES

44   Drop (delete) an existing database connected through SQLite driver
45       Note that the standard GRASS GIS SQLite database is by default found in
46       the user’s current mapset. This example shows an out-of-mapset database
47       removal:
48       db.dropdb driver=sqlite database=/opt/sqlite.db
49
50   Drop an existing database connected through PostgreSQL driver
51       db.dropdb driver=pg database=grassdb
52

TODO

54       Support other database drivers, too.
55

SEE ALSO

57          db.createdb,   db.describe,   db.droptable,   db.execute,  db.login,
58       db.tables
59
60       GRASS SQL interface
61

AUTHORS

63       Radim Blazek, ITC-Irst, Trento, Italy
64       SQLite and PostgreSQL support by Martin Landa, Czech Technical  Univer‐
65       sity in Prague, Czech Republic
66

SOURCE CODE

68       Available at: db.dropdb source code (history)
69
70       Main index | Database index | Topics index | Keywords index | Graphical
71       index | Full index
72
73       © 2003-2020 GRASS Development Team, GRASS GIS 7.8.5 Reference Manual
74
75
76
77GRASS 7.8.5                                                       db.dropdb(1)
Impressum