From PostgreSQL 13 onwards, the default password encryption is changed from "md5" to "scram-sha-256". This document provides the complete information on how to migrate from md5 to scram authentication.
To avoid any connection issues with password encryption, ensure that you perform one of the following processes: