Bug #25754 Mysql Client .Net Connector
Submitted: 22 Jan 2007 15:16 Modified: 23 Feb 2007 8:07
Reporter: Paul Email Updates:
Status: No Feedback Impact on me:
None 
Category:Connector / NET Severity:S2 (Serious)
Version:1.0.8 OS:Windows (Vista)
Assigned to: CPU Architecture:Any
Tags: .net, Connection, connector, socket, vista

[22 Jan 2007 15:16] Paul
Description:
MySql .Net connector is unable to connect to the mysql server on Windows Vista. During connection critical error occured.

How to repeat:
In Driver class you have to wrap stream = CreateSocketStream(address, port, false); in try{}catch{} sentence. Vista generate error when any of socket connection fails.
foreach (IPAddress address in ipHE.AddressList)
					{
                        try
                        {
                            stream = CreateSocketStream(address, port, false);
                            if (stream != null)
                                break;
                        }
                        catch
                        {
                        }
					}
[22 Jan 2007 15:21] Paul
amended verion of library

Attachment: MySql.Data.dll (application/octet-stream, text), 196.00 KiB.

[23 Jan 2007 8:07] Tonci Grgin
Hi Paul and thanks for your report.
> MySql .Net connector is unable to connect to the mysql server on Windows Vista.

It is unclear where the client is, what is the server version... Let me see if I got it right:
 - MySQL server (version?) is on Vista
 - Client is remote (XP, or?) or it doesn't matter?

One more question. Did you tried c/NET 5?
[24 Feb 2007 0:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".