some more install instructions - mysql

This commit is contained in:
Frederik Gladhorn 2010-03-15 16:08:46 +01:00
parent e992da513f
commit 0046d8a460

View file

@ -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 .