cancel
Showing results for 
Search instead for 
Did you mean: 

ODBC & DB Mirror

Former Member
7,385

Hello, I have one question for DB Mirror connection

How do I make a connection through ODBC to a mirror DB? In isql, I have been able to setup the two machines, and I was able to succesfully connect, but I do not know how to configure the OBDC for mirrored DBs (even if I know how to do it for a single one) I am using odbc for asa9 and asa12.

Thanks in advance.

Accepted Solutions (0)

Answers (1)

Answers (1)

VolkerBarth
Contributor

(That's just an attempt to answer the underlying question - see the flow of comments beneath the question:)

In a v12 HA setup, the clients will usually have to specify two host names in the HOST connection parameter. To do so, use a comma-separated list of host names (and ports, if necessaray). Cf. the sample connection string from the tutorial:

dbisql -c "UID=DBA;PWD=sql;SERVER=mirror_demo_primary;HOST=localhost:6871,localhost:6872"

justin_willey
Participant
0 Kudos

@Gizeh333 - if this solved your problem - can you accept Volkers' answer (by clicking on the tick under the thumbs down symbol on the left) - that way future users with the same problem will know what to do! Thanks