Commit b4e68c7b19de0509f185b3b3eed327ca1098662d

Authored by GitLab
Committed by Jacob Vosmaer
1 parent b39a2add

Split database configuration to make EE only aspect more obvious based on customer feedback.

Showing 1 changed file with 10 additions and 8 deletions   Show diff stats
@@ -368,11 +368,9 @@ sudo /opt/gitlab/bin/gitlab-rails console @@ -368,11 +368,9 @@ sudo /opt/gitlab/bin/gitlab-rails console
368 368
369 This will only work after you have run `gitlab-ctl reconfigure` at least once. 369 This will only work after you have run `gitlab-ctl reconfigure` at least once.
370 370
371 -## Using a non-packaged database management server 371 +## Using a MySQL database management server (Enterprise Edition only)
372 372
373 -If you do not want to use the built-in Postgres  
374 -server of omnibus-gitlab or if you want to use MySQL (GitLab Enterprise Edition  
375 -only) you can do so as follows. 373 +If you want to use MySQL and are using the **GitLab Enterprise Edition packages** please do the following:
376 374
377 Important note: if you are connecting omnibus-gitlab to an existing GitLab 375 Important note: if you are connecting omnibus-gitlab to an existing GitLab
378 database you should create a backup before attempting this procedure. 376 database you should create a backup before attempting this procedure.
@@ -400,13 +398,17 @@ gitlab_rails['db_username'] = 'git' @@ -400,13 +398,17 @@ gitlab_rails['db_username'] = 'git'
400 gitlab_rails['db_password'] = 'password' 398 gitlab_rails['db_password'] = 'password'
401 ``` 399 ```
402 400
403 -Parameters such as `db_adapter` correspond to `adapter` in `database.yml`; see  
404 -the upstream GitLab examples for [Postgres][database.yml.postgresql] and  
405 -[MySQL][database.yml.mysql]. We remind you that `/etc/gitlab/gitlab.rb` should  
406 -have file permissions `0600` because it contains plaintext passwords. 401 +Parameters such as `db_adapter` correspond to `adapter` in `database.yml`; see the upstream GitLab for a [MySQL configuration example][database.yml.mysql].
  402 +We remind you that `/etc/gitlab/gitlab.rb` should have file permissions `0600` because it contains plaintext passwords.
407 403
408 Run `sudo gitlab-ctl reconfigure` for the change to take effect. 404 Run `sudo gitlab-ctl reconfigure` for the change to take effect.
409 405
  406 +## Using a non-packaged PostgreSQL database management server
  407 +
  408 +If you do do not want to use the packaged Postgres server you can configure an external one similar to configuring a MySQL server (shown above).
  409 +Configuring a PostgreSQL server is possible both with GitLab Community Edition and Enterprise Edition packages.
  410 +Please see the upstream GitLab for a [PostgreSQL configuration example][database.yml.postgresql].
  411 +
410 ### Seed the database (fresh installs only) 412 ### Seed the database (fresh installs only)
411 413
412 Omnibus-gitlab will not automatically seed your external database. Run the 414 Omnibus-gitlab will not automatically seed your external database. Run the