From 65acf68dc68d34f3aa5f658fcfb207087d052859 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Thu, 2 Apr 2015 20:11:52 -0400 Subject: Update doc --- docs/mysql-configuration.markdown | 27 +++++++++------------------ docs/postgresql-configuration.markdown | 6 ++++-- 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 = 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