summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-02-15 01:08:08 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-02-15 01:08:08 +0000
commitd749716900a8df5e5fb9e45dca88e0f6a1dfdde1 (patch)
treebcf90c716d9b7ce22061f0d47e787f28148fab71 /docs
parente4202a9fe70785a0a5b47c90df696a880294d310 (diff)
downloadsamba-d749716900a8df5e5fb9e45dca88e0f6a1dfdde1.tar.gz
samba-d749716900a8df5e5fb9e45dca88e0f6a1dfdde1.tar.bz2
samba-d749716900a8df5e5fb9e45dca88e0f6a1dfdde1.zip
Add reference to example mysql.dump file
(This used to be commit ed46cb9e64e5c58cef6e2469438bacaae9dcdce8)
Diffstat (limited to 'docs')
-rw-r--r--docs/docbook/projdoc/pdb_mysql.sgml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/docbook/projdoc/pdb_mysql.sgml b/docs/docbook/projdoc/pdb_mysql.sgml
index 59a134a15f..66c12a2339 100644
--- a/docs/docbook/projdoc/pdb_mysql.sgml
+++ b/docs/docbook/projdoc/pdb_mysql.sgml
@@ -25,6 +25,19 @@ strongly recommend installing it in $PREFIX/lib or /usr/lib/samba/</para>
</sect1>
<sect1>
+<title>Creating the database</title>
+
+<para>
+You either can set up your own table and specify the field names to pdb_mysql (see below
+for the column names) or use the default table. The file <filename>examples/pdb/mysql/mysql.dump</filename>
+contains the correct queries to create the required tables. Use the command :
+
+<command>mysql -u<replaceable>username</replaceable> -h<replaceable>hostname</replaceable> -p<replaceable>password</replaceable> <replaceable>databasename</replaceable> < <filename>/path/to/samba/examples/pdb/mysql/mysql.dump</filename></command>
+
+</para>
+</sect1>
+
+<sect1>
<title>Configuring</title>
<para>This plugin lacks some good documentation, but here is some short info:</para>