From 0046d8a4608b65ea39ceffa1a6de295a3ebc82de Mon Sep 17 00:00:00 2001
From: Frederik Gladhorn <gladhorn@kde.org>
Date: Mon, 15 Mar 2010 16:08:46 +0100
Subject: [PATCH] some more install instructions - mysql

---
 docs/INSTALL | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/INSTALL b/docs/INSTALL
index 2c98e81b1c..6a31bc57f0 100755
--- a/docs/INSTALL
+++ b/docs/INSTALL
@@ -8,15 +8,29 @@ config/config.php
 
 Your data will be in:
 $CONFIG_DATADIRECTORY = '/www/testy';
+Apache needs to have write permissions to this directory.
 
 And the ownCloud path is:
 $CONFIG_DOCUMENTROOT = '/www/owncloud/htdocs';
+The ownCloud checkout should be in the root of "htdocs".
 
 Both are absolute paths, so if your server is in /var/www, you need to add the /var
 
 
+== Database ==
+The database should by default be sqlite. No configuration there.
 
+But until then you need some setup with mysql:
 
+Create a table "owncloud":
+mysqladmin create owncloud -u root -p
 
+Dump the default database schema:
+mysql owncloud -u root -p < owncloud.sql
 
+TODO: you also need to create a mysql user that is configured in config/config.php
+
+
+Please help improving this documentation!
+Create merge requests at gitorious.org/owncloud .
 
-- 
GitLab