# Driver

Selects the libdbi driver backend to use for this action.

This parameter applies to omlibdbi: Generic Database Output Module.

Name:

  Driver

Scope:

  input

Type:

  word

Default:

  input=none

Required?:

  yes

Introduced:

  Not documented

## Description

Set this to the driver name that matches your database backend, as documented by libdbi-drivers. Common values include:

- `mysql` (ommysql: MariaDB/MySQL Database Output Module is recommended instead)

- `firebird` (Firebird and InterBase)

- `ingres`

- `msql`

- `Oracle`

- `sqlite`

- `sqlite3`

- `freetds` (Microsoft SQL and Sybase)

- `pgsql` (PostgreSQL Database Output Module (ompgsql) is recommended instead)

## Input usage

    action(type="omlibdbi" driver="mysql" server="db.example.net"
           uid="dbwriter" pwd="sup3rSecret" db="syslog")

### Legacy names (for reference)

Historic names/directives for compatibility. Do not use in new configs.

- $ActionLibdbiDriver — maps to Driver (status: legacy)

## See also

See also omlibdbi: Generic Database Output Module.

Support: rsyslog Assistant | GitHub Discussions | GitHub Issues: rsyslog source project

Contributing: Source & docs: rsyslog source project

© 2008–2025 Rainer Gerhards and others. Licensed under the Apache License 2.0.