Server

Sets the MariaDB/MySQL server address the action connects to.

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

Name:

server

Scope:

input

Type:

word

Default:

input=none

Required?:

yes

Introduced:

at least 7.x, possibly earlier

Description

This is the hostname or IP address of 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.