virtualMachinegitlab

Connect to PostgreSQL

You can connect to the PostgreSQL database using the default Omnibus GitLab configuration as follows:

  • As application user:

    $ sudo gitlab-rails dbconsole
    
  • As PostgreSQL superuser:

    $ sudo gitlab-psql -d gitlabhq_production
    
Last modification September 4, 2018