Postgres password
ranyu696
PROOP

10 months ago

{"message":"2025-10-08 12:15:46.601 UTC [32] DETAIL: 连接匹配文件“/var/lib/postgresql/data/pgdata/pg_hba.conf”第 128 行:\"host all all all scram-sha-256\"","attributes":{"level":"error"},"timestamp":"2025-10-08T12:15:48.443380159Z"}

{"message":"2025-10-08 12:15:49.637 UTC [33] FATAL: 用户 \"postgres\" 的密码验证失败","attributes":{"level":"error"},"timestamp":"2025-10-08T12:15:49.646419541Z"}

{"message":"2025-10-08 12:15:49.637 UTC [33] DETAIL: 连接匹配文件 \"/var/lib/postgresql/data/pgdata/pg_hba.conf\" 第 128 行: \“托管所有所有所有 scram-sha-256 \”,“属性”:{“级别”:“错误”},“时间戳”:“2025-10-08T12:15:49.646427562Z”}

The password is wrong. I can't connect to the authentication. I can't reset the password. I need to connect successfully before I can reset the password.

Solved$10 Bounty

3 Replies

Railway
BOT

10 months ago


cruvex
HOBBY

10 months ago

In your Postgres service under the tab 'Database' > 'Credentials' you should be able to find the correct password and/or regenerate the password if needed.

Attachments


Status changed to Solved ranyu696 11 months ago


Railway

Hey there! We've found the following might help you get unblocked faster: - [🧵 Unable to connect to Postgres DB (Postgres-sUUI) - Password Authentication Failed & Cannot Reset Password](https://station.railway.com/questions/unable-to-connect-to-postgres-db-postgr-4eef3072) - [🧵 Critical Postgres Authentication Failure for Project: daring-contentment](https://station.railway.com/questions/critical-postgres-authentication-failure-e4533528) - [🧵 I need to access my volume and suddenly my password is not working anymore](https://station.railway.com/questions/i-need-to-access-my-volume-and-suddenly-790613df) If you find the answer from one of these, please let us know by solving the thread!

ranyu696
PROOP

10 months ago

I have solved it by these


Status changed to Awaiting Railway Response Railway 11 months ago


Status changed to Open brody 11 months ago


Status changed to Solved brody 11 months ago


Welcome!

Sign in to your Railway account to join the conversation.

Loading...