direct access to to gitlab database

前端 未结 5 533
再見小時候
再見小時候 2021-01-31 06:45

I am running the AWS AMI from gitlab. I am trying to access the postgres database directly using psql. I thought I could just use the credentials in database.yml, since the rail

5条回答
  •  终归单人心
    2021-01-31 07:00

    sudo -u gitlab-psql /opt/gitlab/embedded/bin/psql -h /var/opt/gitlab/postgresql -d gitlabhq_production
    

提交回复
热议问题