Update databases.md
Created by: zzet
Related to https://github.com/gitlabhq/gitlabhq/issues/2786#issuecomment-15353820
Merge request reports
Activity
Created by: zzet
@randx of course.
User install gitlab according to instructions. The manual is written to give rights to the user
gitlab
on databasegitlabhq_production
. Due to the fact that at the moment is the only current usergit
it is desirable to update the documentation.It is clear that he set up gitlab befor your changes for the users, but in order to avoid problems in the future, it must be updated.
Thx.
By Administrator on 2013-03-24T10:16:34 (imported from GitLab project)
By Administrator on 2013-03-24T10:16:34 (imported from GitLab)
Created by: dzaporozhets
@zzet So Postgres ROLE linked with system user. So if we dont have gitlab system user we cannot use
gitlabhq_production
By Administrator on 2013-03-24T10:31:34 (imported from GitLab project)
By Administrator on 2013-03-24T10:31:34 (imported from GitLab)
Created by: zzet
@randx of course! And of course you know that now there is no user
gitlab
If user prefer
trust
auth method it command for they are impossible:sudo -u git -H psql gitlabhq_production
Then they run
bundle exec rake db:migrate RAILS_ENV=production
can be some problems withtrust
auth methodsBy Administrator on 2013-03-24T10:44:29 (imported from GitLab project)
By Administrator on 2013-03-24T10:44:29 (imported from GitLab)
Created by: dzaporozhets
@zzet yeap. Thank you for fix
By Administrator on 2013-03-24T10:44:10 (imported from GitLab project)
By Administrator on 2013-03-24T10:44:10 (imported from GitLab)