Skip to content

Commit a6d7c37

Browse files
author
Adam Gradzki
committed
Fix bug: valid Postgresql password being rejected
1 parent 4c38f97 commit a6d7c37

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

install/centos/README.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,15 @@ Configure the database user and password:
326326

327327
Test the connection as the gitlab (uid=git) user.
328328

329-
psql -d gitlabhq_production -U git -W # prompts for your password.
329+
# you should be root
330+
whoami
331+
332+
# This will prompt you for the password of database user git
333+
sudo -u git psql -d gitlabhq_production -U git -W
334+
335+
# If you see:
336+
# gitlabhq_production=>
337+
# Then your password has been accepted successfully and you can type \q to quit
330338

331339

332340
----------

0 commit comments

Comments
 (0)