更新时间:2023-01-11 07:43:04
您必须将 PostgreSQL 客户端软件(在本例中为 Rust 驱动程序使用的 libpq)升级到支持 scram- 的更高版本sha-256
PostgreSQL v10 中引入的认证方式.
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.
将 PostgreSQL 中的 password_encryption
降级到 md5
,更改所有密码并使用 md5
身份验证方法是一种可能,但不是很好的选择.这需要更多的努力,而且您的安全性和旧的、有缺陷的软件也会变得更糟.
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.