summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-14 09:05:02 +0000
committerMichael Meckelein <mmeckelein@hq.adiscon.com>2007-08-14 09:05:02 +0000
commit3aacfa00da347930dfd170edb61df6a07cb2ba9c (patch)
treecfbb9e2d58053cd7fa32160621aecc8753b9c083
parentda3b996acc97244dc1f96a47b81a06d16791efce (diff)
downloadrsyslog-3aacfa00da347930dfd170edb61df6a07cb2ba9c.tar.gz
rsyslog-3aacfa00da347930dfd170edb61df6a07cb2ba9c.tar.xz
rsyslog-3aacfa00da347930dfd170edb61df6a07cb2ba9c.zip
changed mysql doc
-rw-r--r--doc/rsyslog_mysql.html11
1 files changed, 10 insertions, 1 deletions
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.</p>
+
+<p>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</p>
+<blockquote>
+ <p><code>$ModLoad MySQL</code></p>
+</blockquote>
+<p>directive at the begining of /etc/rsyslog.conf</p>
+
<p>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 <a href="http://www.gnu.org/copyleft/fdl.html">
http://www.gnu.org/copyleft/fdl.html</a>.</p>
</body>
-</html> \ No newline at end of file
+</html>