PostgreSQL: Enable Password Authentication for Super user

preview_player
Показать описание
By default, on localhost, a super user is able to connect to database using psql with out a password. This lecture talks about modifying that default behavior.

This lecture talks about setting up a password for "postgres" database user.
Рекомендации по теме
Комментарии
Автор

Excellent. After altering the user to have a password, we could also use the -w option in psql to get a password input. This way, we don't have to edit the sensitive pg_hba.conf file.

anandakumarsanthinathan
Автор

Bro, I my password is working correctly in PSQL Shell, but in eclipse when i want to connect it showing FATAL password authentication failed for user postgres. plz do help

azeemaffan
Автор

What's this? It isn't command line!

rursus