Skip to content

How can I connect to postgresql

I installed Gitlab using the omnibus package on a Debian 8 vps and it to work,but when I connect postgresql by sudo -u gitlab psql gitlabhq_production, it turns out:

sudo: unknown user: gitlab
sudo: unable to initialize policy plugin

How can I manager the gitlabhq_production database?