To finish the installation of KnowledgeTree, setup a database.
In order to create the dms database issue the following command,
on your database server:

  # mysqladmin -p create dms

Then you have to create and populate the tables by issuing the
following commands on the same database server:

  # mysql -p dms < /usr/obj/ports/ktdms-3.5.1p1/fake-sparc/var/www/ktdms/ktdms/sql/mysql/install/structure.sql
  # mysql -p dms < /usr/obj/ports/ktdms-3.5.1p1/fake-sparc/var/www/ktdms/ktdms/sql/mysql/install/data.sql


Please adjust the /usr/obj/ports/ktdms-3.5.1p1/fake-sparc/var/www/ktdms/ktdms/config/config.ini file to your
needs. This file also cointains the default username and password
for the dms database.

Note: A default Admin user with username admin and password admin
is set up during the database setup.
The default admin user login allows initial access to KnowledgeTree.
This initial login has no relation to the two MySQL accounts in the 
/usr/obj/ports/ktdms-3.5.1p1/fake-sparc/var/www/ktdms/ktdms/config/config.ini file.

If you are running a chroot'ed apache please read the
/usr/obj/ports/ktdms-3.5.1p1/fake-sparc/var/www/ktdms/ktdms/docs/README.chroot file.
