Commit 6838581ad096cbe1bacd24efa93ed350660ed741

Authored by GitLab
1 parent 74c63f2f

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
README.md
... ... @@ -450,11 +450,9 @@ sudo /opt/gitlab/bin/gitlab-rails console
450 450  
451 451 This will only work after you have run `gitlab-ctl reconfigure` at least once.
452 452  
453   -## Using a non-packaged database management server
  453 +## Using a MySQL database management server (Enterprise Edition only)
454 454  
455   -If you do not want to use the built-in Postgres
456   -server of omnibus-gitlab or if you want to use MySQL (GitLab Enterprise Edition
457   -only) you can do so as follows.
  455 +If you want to use MySQL and are using the **GitLab Enterprise Edition packages** please do the following:
458 456  
459 457 Important note: if you are connecting omnibus-gitlab to an existing GitLab
460 458 database you should create a backup before attempting this procedure.
... ... @@ -482,13 +480,17 @@ gitlab_rails['db_username'] = 'git'
482 480 gitlab_rails['db_password'] = 'password'
483 481 ```
484 482  
485   -Parameters such as `db_adapter` correspond to `adapter` in `database.yml`; see
486   -the upstream GitLab examples for [Postgres][database.yml.postgresql] and
487   -[MySQL][database.yml.mysql]. We remind you that `/etc/gitlab/gitlab.rb` should
488   -have file permissions `0600` because it contains plaintext passwords.
  483 +Parameters such as `db_adapter` correspond to `adapter` in `database.yml`; see the upstream GitLab for a [MySQL configuration example][database.yml.mysql].
  484 +We remind you that `/etc/gitlab/gitlab.rb` should have file permissions `0600` because it contains plaintext passwords.
489 485  
490 486 Run `sudo gitlab-ctl reconfigure` for the change to take effect.
491 487  
  488 +## Using a non-packaged PostgreSQL database management server
  489 +
  490 +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).
  491 +Configuring a PostgreSQL server is possible both with GitLab Community Edition and Enterprise Edition packages.
  492 +Please see the upstream GitLab for a [PostgreSQL configuration example][database.yml.postgresql].
  493 +
492 494 ### Seed the database (fresh installs only)
493 495  
494 496 Omnibus-gitlab will not automatically seed your external database. Run the
... ...