From 3aacfa00da347930dfd170edb61df6a07cb2ba9c Mon Sep 17 00:00:00 2001 From: Michael Meckelein Date: Tue, 14 Aug 2007 09:05:02 +0000 Subject: changed mysql doc --- doc/rsyslog_mysql.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/rsyslog_mysql.html b/doc/rsyslog_mysql.html index 41aced27..53ee30cc 100644 --- a/doc/rsyslog_mysql.html +++ b/doc/rsyslog_mysql.html @@ -112,6 +112,15 @@ otherwise you need to customize rsyslogd's default sql template, which we do not do in this paper. Then, run the script with your favourite MySQL tool. Double-check that the table was successfully created.

+ +

MySQL support in rsyslog is integrated via a loadable plug-in module. To use the database +functionality, MySQL must be enabled in the config file BEFORE the first database table action is +used. This is done by placing the

+
+

$ModLoad MySQL

+
+

directive at the begining of /etc/rsyslog.conf

+

Next, we need to tell rsyslogd to write data to the database. As we use the default schema, we do NOT need to define a template for this. We can use the hardcoded one (rsyslogd handles the proper template linking). So all we need to @@ -237,4 +246,4 @@ no Front-Cover Texts, and no Back-Cover Texts. A copy of the license can be viewed at http://www.gnu.org/copyleft/fdl.html.

- \ No newline at end of file + -- cgit