Enable connection to 2 databases but connection work only with one database

Hi @community

I have created two databases db1 and db2 both are allowed to connect on my app:

  • db1 users can connect to my app
  • when I try to connect with a db2 user on my app it doesn’t work
  • on monitoring logs I find that the connection is still on db1

How can I solve this problem?
Thank you