Hemil Ruparel <hemilruparel2002@xxxxxxxxx> writes: > Thanks for the clarification. According to this page, > https://jdbc.postgresql.org/documentation/changelog.html#version_42.2.0, > scram support was added in JDBC driver 42.2.0. I am on 42.2.18. And using > the java code mentioned above, I still get the same error. If you back off the pg_hba setting to md5, does it work? regards, tom lane