eulerto / pgquarrel

pgquarrel compares PostgreSQL database schemas (DDL)
BSD 3-Clause "New" or "Revised" License
390 stars 42 forks source link

password authentication failed #96

Closed asifiqbal closed 3 years ago

asifiqbal commented 3 years ago

Describe the bug

It does not prompt for password and it fails since it can't login to database without password

Your environment

access-method = false aggregate = false cast = false collation = false conversion = false domain = true event-trigger = false extension = false fdw = false foreign-table = false function = true index = true language = false materialized-view = true operator = false policy = false procedure = true publication = false rule = false schema = true sequence = true statistics = false subscription = false table = true text-search = false transform = false trigger = true type = true view = true

include-schema = ^(hr|finance|account|crm|sales)$

exclude-schema = ^public$

[target] host = poatgres-aurora.rds.amazonaws.com port = 5432 dbname = confluence user = confluenceuser no-password = false

[source] host = postgres-aurora.rds.amazonaws.com port = 5432 dbname = confluencedb user = confluenceuser no-password = false

Steps to reproduce

$ pgquarrel -c pgquarrel.conf ERROR connection to target database "confluence" failed: FATAL: password authentication failed for user "confluenceuser" FATAL: password authentication failed for user "confluenceuser"

Expected behavior

Never ran it before. This is the first time

eulerto commented 3 years ago

Use 0.7.0 or master, this was already fixed in the commits 6f9bfa761ab781920c0fed9931fc1ea79bdffe35 and e0aecc48d81c23c7ce4b7a928c1283d85ff805ac.