summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchilleas Pipinellis <axilleas@axilleas.me>2016-11-22 21:43:56 +0000
committerAchilleas Pipinellis <axilleas@axilleas.me>2016-11-22 21:43:56 +0000
commit5c9cb3a393a34cee618d52844152ed5f2ffd49bf (patch)
treeb2e3207219f2b101085511d7f2a7109c8b23cf76
parent52750aab2a77e8a8f2fb5159cf90286bf1603685 (diff)
parentc2d9ab5e9079eafb848890ebc49457ab6c51170f (diff)
downloadgitlab-ce-5c9cb3a393a34cee618d52844152ed5f2ffd49bf.tar.gz
Merge branch 'mrchrisw/mysql-install' into 'master'
Add omnibus rake task ## Why was this MR needed? There was no omnibus example ## Does this MR meet the acceptance criteria? - [x] [Documentation created/updated](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/development/doc_styleguide.md) See merge request !5416
-rw-r--r--doc/install/database_mysql.md9
1 files changed, 8 insertions, 1 deletions
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