---
name: "db.test"
section: "1grass"
platform: "linux"
package: "grass-doc"
version: "8.4.1-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/db.test"
---

# db.test(1grass)

Test database driver, database must exist and set by db.connect.

## NAME

**db.test**  - Test database driver, database must exist and set by db.connect.

## KEYWORDS

database, attribute table

## SYNOPSIS

**db.test**\
 **db.test --help**\
 **db.test** **test**=*string*  \[--**help**\]  \[--**verbose**\]  \[--**quiet**\]  \[--**ui**\]

### Flags:

- **--help**

  Print usage summary

- **--verbose**

  Verbose module output

- **--quiet**

  Quiet module output

- **--ui**

  Force launching GUI dialog

### Parameters:

- **test**=*string* **\[required\]**

  Test name\
   Options: *test1*

## DESCRIPTION

*db.test* tests database driver and database server running set of SQL queries. Database must exist and connection must be set by *db.connect*.

## EXAMPLE

Test current SQL backend driver:

```
db.connect -p
db.test test=test1
```

## SEE ALSO

*GRASS SQL interface,* *db.connect,* *db.describe,* *db.drivers*

## AUTHOR

Radim Blazek

## SOURCE CODE

Available at: db.test source code (history)

Accessed: Monday Feb 24 17:51:43 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
