summaryrefslogtreecommitdiffstats
path: root/doc/rsyslog_mysql.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/rsyslog_mysql.html')
-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>