You have to upgrade the PostgreSQL client software (in this case, the libpq used by the Rust driver) to a later version that supports the scram-sha-256
authentication method introduced in PostgreSQL v10.
Downgrading password_encryption
in PostgreSQL to md5
, changing all the passwords and using the md5
authentication method is a possible, but bad alternative. It is more effort, and you get worse security and old, buggy software.