SQL shell(psql) throws me this error when prompting pasword for user postgress psql: error: could not connect to server: fe_sendauth: no password supplied
tried CMD
C:\Users\myuser>psql
Password for user myuser:
psql: error: could not connect to server: fe_sendauth: no password supplied
C:\Users\myuser>psql -U postgres Password for user postgres: psql: error: could not connect to server: FATAL: password authentication failed for user "postgres"
found this 1. answer :maybe is this isue pgpass.conf file needs to put it to PostgreSQL server and not with pgAdmin (client's dir)?? but cant find such file in explorer
pgAdmin 4 works just fine problem is with psql shell
im on WIN 10 ,anyone have same problem and how to solve it?
PS: i managed to work psql shell by setting pg_hba.config file to
host all all 127.0.0.1/32 md5
for ip4 and ip6 i set trust instade md5 and relaoded Postgress service ,but when i reverted back after seting new pasword to md5 same problem and same error
psql: error: could not connect to server: fe_sendauth: no password supplied
pgAdmin 4 still works


