I want to connect to an availability group (listener ip) including 4 different database servers. In my connection string, I specify
application intent = readonly
attribute to connect as read-only. But it fails with a
database connection error
There are two different cases:
when I use a database ip instead of listener ip, I can connect to the database
when I remove
application intent = readonly
, I can connect to the database
Who can help me?