连接指定postgres 数据库失败,提示 password authentication failed for user noco2
但在容器中使用 psql -U noco2 -h 10.252.25.208 -p 5433 -d noco2 又可以登录,并且可以正常访问数据库和表
* Environment
- NocoBase version:
registry.cn-shanghai.aliyuncs.com/nocobase/nocobase latest-full 5dd579130766 - Database type and version:
PostgreSQL 17.4 (Debian 17.4-1.pgdg120+2) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
Logs
nocobase | {“level”:“warn”,“message”:“attempt 7/9: Unable to connect to the database: password authentication failed for user “noco2"”,“meta”:{},“module”:“database”,“submodule”:”",“method”:“auth”,“app”:“main”,“reqId”:“899d65a1-aa30-4418-8e9c-fcabc10d7ea9”,“dataSourceKey”:“main”,“timestamp”:“2025-07-01 10:48:50”}