summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/mysql-configuration.markdown13
-rw-r--r--doc/postgresql-configuration.markdown12
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/mysql-configuration.markdown b/doc/mysql-configuration.markdown
index eef1e125..554bec3b 100644
--- a/doc/mysql-configuration.markdown
+++ b/doc/mysql-configuration.markdown
@@ -42,3 +42,16 @@ define('DB_NAME', 'kanboard');
```
Note: You can also rename the template file `config.default.php` to `config.php`.
+
+### Importing SQL dump (alternative method)
+
+The first time, Kanboard will run one by one each database migration and this process can take some time according to your configuration.
+
+To avoid any issues or potential timeouts you can initialize the database directly by importing the SQL schema:
+
+```bash
+mysql -u root -p my_database < app/Schema/Sql/mysql.sql
+```
+
+The file `app/Schema/Sql/mysql.sql` is a sql dump that represent the last version of the database.
+
diff --git a/doc/postgresql-configuration.markdown b/doc/postgresql-configuration.markdown
index 3c07ff16..904dfc0f 100644
--- a/doc/postgresql-configuration.markdown
+++ b/doc/postgresql-configuration.markdown
@@ -38,3 +38,15 @@ define('DB_NAME', 'kanboard');
```
Note: You can also rename the template file `config.default.php` to `config.php`.
+
+### Importing SQL dump (alternative method)
+
+The first time, Kanboard will run one by one each database migration and this process can take some time according to your configuration.
+
+To avoid any issues or potential timeouts you can initialize the database directly by importing the SQL schema:
+
+```bash
+psql -U postgres my_database < app/Schema/Sql/postgres.sql
+```
+
+The file `app/Schema/Sql/postgres.sql` is a sql dump that represent the last version of the database.