UID

Defines the MariaDB/MySQL user account used for the connection.

This parameter applies to ommysql: MariaDB/MySQL Database Output Module.

Name:

uid

Scope:

input

Type:

word

Default:

input=none

Required?:

yes

Introduced:

at least 7.x, possibly earlier

Description

This is the username used to authenticate with the MariaDB/MySQL server.

Input usage

module(load="ommysql")
action(type="ommysql" server="mysqlserver.example.com" db="syslog_db" uid="user" pwd="pwd")

See also

See also ommysql: MariaDB/MySQL 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.