I have two gitlab servers ( CE and EE ).
At present, two servers use different database servers.
I want to use migrate to one postgresql database server.
I could not find how to change the name of postgresql’s database name in the guide document.
But I can find gitlab_rails[‘db_database’] property in the gitlab.rb file.
Is it possible to set the database name differently without any problem?
Technically, you could, but should be careful
- Docs https://docs.gitlab.com/omnibus/settings/database.html#using-a-non-packaged-postgresql-database-management-server
- All options https://gitlab.com/gitlab-org/omnibus-gitlab/blob/26923c21789ab6bca32f9203460c0350d4d17606/files/gitlab-config-template/gitlab.rb.template#L340-356
You’d have to make sure you use a different db name so that one doesn’t mess with the other. See the all options link, since the docs contain only the bare minimum requirements.