Open Source RDBMS - Seamless, Scalable, Stable and Free

한국어 | Login |Register

(click on this box to dismiss)

How to use altHost with driver?

CUBRID CCI driver can use altHosts option via cci_connect_with_url function.

JDBC and PHP drivers have similar function that can be used in HA environment.

But I can't find a method in ADO.NET driver that allows to use altHosts.

Is there a method that can connect with altHost?


link comment (0)
asked 2 years ago
17 Answers

Here is an example to set altHosts:

string connString ="ado:CUBRID:";
CUBRIDConnection conn = new CUBRIDConnection();
conn.ConnectionString = connString;

As shown above ADO.NET driver can connect to a CUBRID Broker using a connection string. The format of a connection string is same as in cci_connect_with_url.

link comment (1)
answered 2 years ago

You are either using a very old browser or a browser that is not supported.
In order to browse you need to have one of the following browsers:

Internet Explorer: Mozilla Firefox: Google Chrome: