From c2d9ab5e9079eafb848890ebc49457ab6c51170f Mon Sep 17 00:00:00 2001 From: Chris Wilson <chris@chrisjwilson.com> Date: Fri, 22 Jul 2016 03:49:27 +0000 Subject: [PATCH] Add omnibus rake task. Fix source env --- doc/install/database_mysql.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/install/database_mysql.md b/doc/install/database_mysql.md index e8093f0b257..322680f0cf4 100644 --- a/doc/install/database_mysql.md +++ b/doc/install/database_mysql.md @@ -57,8 +57,15 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se After installation or upgrade, remember to run the `add_limits_mysql` Rake task: +**Omnibus GitLab installations** ``` -bundle exec rake add_limits_mysql +sudo gitlab-rake add_limits_mysql +``` + +**Installations from source** + +``` +bundle exec rake add_limits_mysql RAILS_ENV=production ``` The `text` type in MySQL has a different size limit than the `text` type in -- GitLab