/
githubmirror
/
rsyslog
Обзор
Документация
Войти
/
githubmirror
/
rsyslog
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
doc/source/reference/parameters/ommysql-socket.rst
45 строк
1 KB
Ulrike Gerhards
Codex/refactor rsyslog parameter documentation n6uh16 (#6345)
11 дек 2025, 10:55
Не верифицирован
11 дек 2025, 10:55
f25e49e
Код
Авторство
О чём код?
.. _param-ommysql-socket: .. _ommysql.parameter.input.socket: Socket ====== .. index:: single: ommysql; Socket single: Socket .. summary-start Sets the Unix socket path to use when connecting to the MariaDB/MySQL server. .. summary-end This parameter applies to :doc:`../../configuration/modules/ommysql`. :Name: socket :Scope: input :Type: word :Default: input=none :Required?: no :Introduced: at least 7.x, possibly earlier Description ----------- This is the unix socket path of the MariaDB/MySQL server. When the server address is set localhost, the MariaDB/MySQL client library connects using the default unix socket specified at build time. If you run MariaDB/MySQL server and run the unix socket path differently than the default, you can set the socket path with this option. Input usage ----------- .. _ommysql.parameter.input.socket-usage: .. code-block:: rsyslog module(load="ommysql") action(type="ommysql" server="localhost" socket="/var/run/mysqld/mysqld.sock" db="syslog_db" uid="user" pwd="pwd") See also -------- See also :doc:`../../configuration/modules/ommysql`.