After installing and trying to start Kong, the below error is thrown:
Error: /usr/local/share/lua/5.1/kong/cmd/start.lua:156:
nginx: [error] init_by_lua error: /usr/local/share/lua/5.1/kong/init.lua:462: [PostgreSQL error] failed to retrieve PostgreSQL server_version_num: FATAL: password authentication failed for user "root"
stack traceback:
[C]: in function 'assert'
/usr/local/share/lua/5.1/kong/init.lua:462: in function 'init'
init_by_lua:3: in main chunk
a:3: in main chunk
Run with --v (verbose) or --vv (debug) for more details
waiting for dbYou will notice the migrations jobs have run, however Kong fails to start using the same db account. A review of the Postgres logs will show a similar error
2025-12-15 21:00:00 UTC:10.10.100.190(26680):root@kong:[10839]:FATAL: password authentication failed for user "root"
2025-12-15 21:00:00 UTC:10.10.100.190(26680):root@kong:[10839]:DETAIL: Password does not match for user "root".