summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/mysql-configuration.markdown27
-rw-r--r--docs/postgresql-configuration.markdown6
2 files changed, 13 insertions, 20 deletions
diff --git a/docs/mysql-configuration.markdown b/docs/mysql-configuration.markdown
index b1934947..eef1e125 100644
--- a/docs/mysql-configuration.markdown
+++ b/docs/mysql-configuration.markdown
@@ -4,6 +4,14 @@ How to use Mysql or MariaDB instead of Sqlite
By default Kanboard use Sqlite to stores its data.
However it's possible to use Mysql or MariaDB instead of Sqlite.
+Requirements
+------------
+
+- Mysql server
+- The PHP extension `pdo_mysql` installed (Debian/Ubuntu: `apt-get install php5-mysql`)
+
+Note: Kanboard is tested with **Mysql >= 5.5 and MariaDB >= 10.0**
+
Mysql configuration
-------------------
@@ -18,24 +26,7 @@ CREATE DATABASE kanboard;
### Create a config file
-All application constants can be overrided by using a config file at the root of the project.
-The second step is to create a config file named `config.php`:
-
-```
-.
-├── LICENSE
-├── common.php
-├── ....
-├── config.php <== Our config file
-├── ....
-├── index.php
-├── ....
-└── vendor
-```
-
-### Define Mysql parameters
-
-Copy and paste this config file and replace the values:
+The file `config.php` should contains those values:
```php
<?php
diff --git a/docs/postgresql-configuration.markdown b/docs/postgresql-configuration.markdown
index 04c6c2e7..9f88a526 100644
--- a/docs/postgresql-configuration.markdown
+++ b/docs/postgresql-configuration.markdown
@@ -9,6 +9,8 @@ Requirements
- A Postgresql server already installed and configured
- The PHP extension `pdo_pgsql` installed (Debian/Ubuntu: `apt-get install php5-pgsql`)
+Note: Kanboard is tested with **Postgresql >= 9.4**
+
Configuration
-------------
@@ -20,7 +22,7 @@ CREATE DATABASE kanboard;
### Create a config file
-Inside our config file write those lines:
+The file `config.php` should contains those values:
```php
<?php
@@ -35,4 +37,4 @@ define('DB_HOSTNAME', 'REPLACE_ME');
define('DB_NAME', 'kanboard');
```
-Now, you are ready to use Postgresql.
+Note: You can also rename the template file `config.default.php` to `config.php`.