📌  相关文章
📜  SCRAM 身份验证需要 libpq 版本 10 或更高版本(SQL:select * from information_schema.tables where table_schema = public and table_name = migrations and table_type = 'BASE TABLE') - SQL 代码示例

📅  最后修改于: 2022-03-11 15:04:52.409000             🧑  作者: Mango

代码示例1
Step 1: Find file postgresql.conf in C:\Program Files\PostgreSQL\13\data then set password_encryption = md5
Step 2: Find file pg_hba.conf in C:\Program Files\PostgreSQL\13\data then change all METHOD to md5
Step 3: Open command line (cmd,cmder,git bash...) and run psql -U postgres then enter your password when installed postgres sql
Step 4: Then change your password by run ALTER USER postgres WITH PASSWORD 'new-password' in command line
Final: Restart service postgresql-x64-13 in your Service.