diff options
author | esmail <esmail@users.noreply.github.com> | 2014-03-07 19:57:05 -0500 |
---|---|---|
committer | esmail <esmail@users.noreply.github.com> | 2014-03-07 19:57:05 -0500 |
commit | 498a4e6b0c8b7cc9266f71dd3337669a9442934d (patch) | |
tree | 89baa95988610da0fe6bf63d8bc1df3bfc1d0c3e /doc | |
parent | c3f088d2610b83d06091aa9fdbbb8e0cc3ea8ca3 (diff) | |
download | gitlab-ce-498a4e6b0c8b7cc9266f71dd3337669a9442934d.tar.gz |
Database doc changes to address #2412 and #6451.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/install/database_mysql.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/install/database_mysql.md b/doc/install/database_mysql.md index 4cf9b94c1a0..bf8183729e7 100644 --- a/doc/install/database_mysql.md +++ b/doc/install/database_mysql.md @@ -6,6 +6,9 @@ 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 # Pick a database root password (can be anything), type it and press enter # Retype the database root password and press enter @@ -23,6 +26,10 @@ We do not recommend using MySQL due to various issues. For example, case [(in)se # change $password in the command below to a real password you pick mysql> CREATE USER 'git'@'localhost' IDENTIFIED BY '$password'; + # 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`; |