473,509 Members | 3,039 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# connector string to mySQL Cluster Database

1 New Member
Hi,I'm trying mysql cluster to use in a project for our customer.

The configuration I setted up is the following:
Server1 - S.O. Windows 2008 R2 64bit
Server2 - S.O. Windows 2008 R2 64bit
Client1 - S.O. Windows 7 64bit
Client2 - S.O. Windows 7 64bit

UserClient - S.O. Windows 7 64bit

My Sql Cluster Configuration
Server1 - act as data node and mysql node (MYSQL-D1)
Server2 - act as data node and mysql node (MYSQL-D2)

Client1 - act as management node 1
Client2 - act as management node 2

Client application configuration
All Clients have a Microsoft .Net application that interact with mysql cluster database.

After a while mySQL cluster configuration appears to work correctly and the apps are able to connect to data nodes (this is possibile by changing the connection string of .NET client application and pointing to IP of MYSQL-D1 or to the IP of MYSQL-D2).

In a perfect world the client apps are automatically able to connect to the right server, pratically:
- if MYSQL-D1 is down apps connect to MYSQL-D2
- if MYSQL-D2 is down apps connect to MYSQL-D1

How .NET client application can interact with mysql cluster?

The best solutions I found for my scenario are:
1. use mysql proxy but it's in alpha stage and I can't use it in production environment
2. install mysql node on each client
3. use a connection string that support multiple servers (I don't know if it's supported by mysql .NET connector)
4. rewrite my application to interact with both MYSQL-DX node (what I want to avoid)

Is there a right solutions? Which one is the best one?

Thank you
Apr 10 '13 #1
0 1289

Sign in to post your reply or Sign up for a free account.

Similar topics

0
553
by: Sohail Hasan | last post by:
Hi All, I want to bring back my mysql original database as well as root GRANTS as was during the installation because i installed an application that modified my root GRANTS and now I am not...
1
1696
by: Eric Losier | last post by:
Hi all, This question has been asked quite a few times, but my situation is a little bit different from what I've already read from other people. Here I go: I need to load-balance two servers...
0
1322
by: luke crouch | last post by:
what is the most stable download I can get that includes mysql cluster? the site says it is included in 4.1, and there's an rpm for 4.1, but it also says there's no binary for cluster... will I...
1
2960
by: nd02tsk | last post by:
Hello Does PostgreSQL provide anything comparable with the functionality of MySQL Cluster? I appreciate all information. Thank you. Tim
0
1391
by: davidb999 | last post by:
I'd appreciate any help/suggestions you people working with MySql cluster can offer. I'm hoping MySql Cluster can help us with a high volume need. Our needs are (at max load) 10M Million...
0
2517
by: btaranto | last post by:
Hi, i need some help with firewall with mysql-clusters. I have mysql-cluster with 1 mgm, 3 nodes and 2 apis, and i need to open some ports on firewall to mysql communicate each other, but the...
8
2523
by: asenthil | last post by:
Hai, i'm having a string in a specific field of a database... now i want to retrive that string from the database and i have to write that string into a xml file.... retriving is not a...
0
1940
by: cmk128 | last post by:
Hi Base on my understanding, mysql cluster is not free, right? thanks from Peter (cmk128@hotmail.com)
0
1315
by: meetmurali | last post by:
Hi, What is the best hardware configuration for MySQL cluster to handle VOIP application. And how best is MySQL Cluster software to handle a VOIP application. Regards Murali
1
1629
by: write2ashokkumar | last post by:
hi... What are all the types of index supports in Mysql cluster method? Regards, S.Ashokkumar.
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7412
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7069
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7505
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5060
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3216
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.