Add reference to example mysql.dump file
authorJelmer Vernooij <jelmer@samba.org>
Sat, 15 Feb 2003 01:08:08 +0000 (01:08 +0000)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 15 Feb 2003 01:08:08 +0000 (01:08 +0000)
(This used to be commit ed46cb9e64e5c58cef6e2469438bacaae9dcdce8)

docs/docbook/projdoc/pdb_mysql.sgml

index 59a134a15f39854e3c1fb551859e8f76b0305cb3..66c12a23398a9062aa75a16bbb4a9f39d787f25d 100644 (file)
@@ -24,6 +24,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>