SQL-Ledger Install Issue

Issue:

when starting post installation process of SQL-Ledger by clicking “Create Dataset”, error message:

FATAL IDENT Authentication failed for user “sql-ledger”

even correct password had been input for database user: sql-ledger

Solution:

modify /var/lib/pgsql/data/pg_hba.conf by replacing “ident sameuser” to “trust” under METHOD

Tricks:

Apparently it’s a problem of SQL-Ledger, but actually it’s a configuration issue of PostgreSQL