Quantcast
Channel: MySQL Forums - Connector/NET and C#, Mono, .Net
Viewing all articles
Browse latest Browse all 1447

ConnectionString multiple servers error (bug?) (no replies)

$
0
0
Well, I'll give this a shot here, although it doesn't seem to be a very active forum...

Trying a connection string with multiple servers for a replicated environment doesn't work. I get the error "Unable to connect to any of the specified MySQL hosts." I am using version 6.8.3 (for .net 2.0)

here is my connection string:
<add name="DSN" connectionString="server=192.168.100.220, 192.168.100.221; Database=***; User ID=***; Password=***; Max Pool Size = 500; " providerName="MySql.Data.MySqlClient"/>

Using either one of those IP's individually works, but together it doesn't. Also, this connection string works with version 6.6.6

Is this a bug maybe?

Viewing all articles
Browse latest Browse all 1447

Trending Articles