I just got it to work in VB.NET. I played with the connection string. In
fact, I took everything out except the DSN. Here is the code
(VB.net). For the most part it is exactly like VB6 except no SET commands
and no default properties. Try making your connection string minimal in C#.
Hi All,
I'm having problems connecting to MySQL with C# via
MyODBC 3.51.02; the DSN I created is called 'MySQL1'.
The error I am receiving is: "The 'MySQL1' provider is
not registered on the local machine". This is what my
connection string looks like:
string strConn = "Provider=MySQL1;DNS=MySQL