Skip to content

Commit fd12f86

Browse files
author
Adam Gradzki
committed
Clarifications: Postgres user login testing
1 parent 600cb3f commit fd12f86

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

install/centos/README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -335,18 +335,19 @@ Configure the database user and password:
335335
template1=# \q
336336
exit # exit uid=postgres, return to root
337337

338-
Test the connection as the gitlab (uid=git) user.
338+
Test the connection as the gitlab (uid=git) user. You should be root to begin this test:
339339

340-
# you should be root
341340
whoami
342341

343-
# This will prompt you for the password of database user git
342+
Attempt to log in to Postgres as the git user:
343+
344344
sudo -u git psql -d gitlabhq_production -U git -W
345345

346-
# If you see:
347-
# gitlabhq_production=>
348-
# Then your password has been accepted successfully and you can type \q to quit
346+
If you see the following:
347+
348+
gitlabhq_production=>
349349

350+
Your password has been accepted successfully and you can type \q to quit.
350351

351352
----------
352353
## 6. GitLab

0 commit comments

Comments
 (0)