summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2016-01-18 16:53:33 -0500
committerRobert Speicher <rspeicher@gmail.com>2016-01-18 16:54:29 -0500
commit402feec6ddd96880921ad37a931db7c96fd48be0 (patch)
tree8c8d583e6335c46c39f98ec92f8bfc529e6d144a /doc
parenta7daf33bc5d33d496456adb017b55094b917e718 (diff)
downloadgitlab-ce-402feec6ddd96880921ad37a931db7c96fd48be0.tar.gz
Update MySQL docs
[ci skip]
Diffstat (limited to 'doc')
-rw-r--r--doc/install/database_mysql.md19
-rw-r--r--doc/update/README.md2
2 files changed, 12 insertions, 9 deletions
diff --git a/doc/install/database_mysql.md b/doc/install/database_mysql.md
index 4a2c699129d..e51ff5a5de2 100644
--- a/doc/install/database_mysql.md
+++ b/doc/install/database_mysql.md
@@ -8,7 +8,7 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se
# Install the database packages
sudo apt-get install -y mysql-server mysql-client libmysqlclient-dev
-
+
# Ensure you have MySQL version 5.5.14 or later
mysql --version
@@ -31,7 +31,7 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se
# Ensure you can use the InnoDB engine which is necessary to support long indexes
# If this fails, check your MySQL config files (e.g. `/etc/mysql/*.cnf`, `/etc/mysql/conf.d/*`) for the setting "innodb = off"
mysql> SET storage_engine=INNODB;
-
+
# Create the GitLab production database
mysql> CREATE DATABASE IF NOT EXISTS `gitlabhq_production` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci`;
@@ -55,19 +55,22 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se
## MySQL strings limits
-After installation or upgrade is done, remember to run `add_limits_mysql` rake task:
+After installation or upgrade, remember to run the `add_limits_mysql` Rake task:
```
bundle exec rake add_limits_mysql
```
-The `text` type in MySQL have different size limit than `text` type in PostgreSQL. In MySQL `text` columns are limited
-to ~65kB, where in PostgreSQL `text` columns are limited up to ~1GB!
+The `text` type in MySQL has a different size limit than the `text` type in
+PostgreSQL. In MySQL `text` columns are limited to ~65kB, whereas in PostgreSQL
+`text` columns are limited up to ~1GB!
-`add_limits_mysql` rake task converts some important `text` columns in GitLab database to `longtext` which can persist
-up to 4GB characters (may be less if the value contains multibyte characters).
+The `add_limits_mysql` Rake task converts some important `text` columns in the
+GitLab database to `longtext` columns, which can persist values of up to 4GB
+(sometimes less if the value contains multibyte characters).
-Details can be found in [PostgreSQL manual][postgres-text-type] and in [MySQL manual][mysql-text-types].
+Details can be found in the [PostgreSQL][postgres-text-type] and
+[MySQL][mysql-text-types] manuals.
[postgres-text-type]: http://www.postgresql.org/docs/9.1/static/datatype-character.html
[mysql-text-types]: http://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html
diff --git a/doc/update/README.md b/doc/update/README.md
index 46aec4885e2..109d5de3fa2 100644
--- a/doc/update/README.md
+++ b/doc/update/README.md
@@ -14,4 +14,4 @@ Depending on the installation method and your GitLab version, there are multiple
## Miscellaneous
- [MySQL to PostgreSQL](mysql_to_postgresql.md) guides you through migrating your database from MySQL to PostgreSQL.
-- [MySQL installation guide](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/database_mysql.md) contains additional informations about configuring GitLab to work with MySQL database.
+- [MySQL installation guide](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/database_mysql.md) contains additional information about configuring GitLab to work with a MySQL database.