<div dir="ltr">Hi, <br><br>Regarding pgpool authentication (pgpool 4.2)<br> <br>Configuration are <br><br>pgpool.conf<br>enable_pool_hba = on<br><br>pool_hba.conf<br>host    all             all     all    md5<br>local   all             all                                    md5<br><br><br>pool_passwd<br>postgres: &quot;someValue&quot;<br>mpspostgres: &quot;someValue&quot;<br><br>When i tried to connection to pgpool  (with password as &quot;someValue&quot;)<br>psql  -U mpsroot -p 5432 -h 192.168.1.233 mpsdb<br><br>Que 1 :I am successfully able to connection even though password for mpsroot user is not present in pool_passwd file and axxording to <br>       <a href="https://pgpool.net/mediawiki/index.php/FAQ#I_created_pool_hba.conf_and_pool_passwd_to_enable_md5_authentication_through_pgpool-II_but_it_does_not_work._Why.3F">https://pgpool.net/mediawiki/index.php/FAQ#I_created_pool_hba.conf_and_pool_passwd_to_enable_md5_authentication_through_pgpool-II_but_it_does_not_work._Why.3F</a><br>       Auth should fail <br><br>Que 2: In pgpool authentication, between client to pgpool and pgpool to backend DB Why both password have to be same .<br><br>Que 3: From client when i give a password in connection string , is same password use for authenticating the client at pgpool and authentication the client at backend DB  <br><br><br>Que 3: what if we want authentication at back-end (DB) node only , not at pgpool <br>In that case pgpool send a password from pool_passswd file or whatever the password client passes in connection string<br><br>Que 4: If DB has authentication on, do we need a authentication at pgpool level.<br><br>Que5 : In case we only enable authentication at DB not at pgpool, for cached connection from pgpool to DB , do client still need to authorized. <br></div>