0

I have configured server to use MySQL Cluster. The Cluster works fine. This is my server architecture:

Server 1: Cluster Manager: 10.176.133.219

Server 2: Data Node & Sql Node: 10.176.168.129

Server 3: Data Node & Sql Node: 10.176.137.66

My Question: I have a WCF Service where I have put the connection string when I had 1 database (directly the server IP as database host). How do I connect to the Cluster? How is the connection string written?

10x

4

1 回答 1

1

connectionString="Data Source=10.176.168.129, 10.176.137.66;database=myDB;user id=myUsr;password=myPass"

the solution is putting the hostnames (address) as comma-separated.

于 2014-04-28T13:34:04.017 回答