postgresql - psql: FATAL: password authentication failed for user "usr" -


i have installed postgresql on server , when try connect database error (my password correct error):

[fuiba@web325 webapps]$ psql -h localhost -p 26880 -d univ_db -u usr password user usr:  psql: fatal:  password authentication failed user "usr" 

my pg_hba.conf:

# type  database        user            address                 method  # "local" unix domain socket connections local                                                   md5 # ipv4 local connections: host                            127.0.0.1/32            md5 # ipv6 local connections: host                            ::1/128                 md5 

what did wrong?


Comments

Popular posts from this blog

php - SPIP: From Tag directly to an article -

jquery - isAjaxRequest always return false -

ruby on rails - In a controller spec, how to find a specific tag in the generated view? -