diff options
Diffstat (limited to 'doc/ex-meta1.texi')
-rw-r--r-- | doc/ex-meta1.texi | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/ex-meta1.texi b/doc/ex-meta1.texi index d74b49c..a62b4be 100644 --- a/doc/ex-meta1.texi +++ b/doc/ex-meta1.texi | |||
@@ -18,9 +18,8 @@ initialization in @file{smapd.conf} looks like: | |||
18 | @example | 18 | @example |
19 | module mysql mysql open config-group=smap | 19 | module mysql mysql config-group=smap |
20 | @end example | 20 | @end example |
21 | 21 | ||
22 | The @samp{open} parameter instructs the module to open the requested | 22 | The @samp{config-group} parameter refers to a group name in the |
23 | databases. The @samp{config-group} parameter refers to a group | 23 | default @file{/etc/my.cnf} file that contains information about the |
24 | name in the default @file{/etc/my.cnf} file that contains information | 24 | @acronym{MySQL} database and credentials for accessing it. |
25 | about the @acronym{MySQL} database and credentials for accessing it. | ||
26 | The following is a sample snippet from @file{/etc/my.cnf}: | 25 | The following is a sample snippet from @file{/etc/my.cnf}: |
@@ -63,3 +62,2 @@ The smap database is defined as follows: | |||
63 | database userdb mysql \ | 62 | database userdb mysql \ |
64 | defaultdb | ||
65 | query="SELECT user FROM userdb WHERE user='$key'" | 63 | query="SELECT user FROM userdb WHERE user='$key'" |