My application should get data from a MySQL database via an ODBC connection.
Now I am wondering, what connector I should use. Should I download the MySQL Connector/ODBC and add a reference to the dll? Or should I simply use the built-in .NET connector located under System.Data.Odbc?
Do they work both? Are there differences between them both?
EDIT: I don’t want to install a specific driver. Unfortunately I didn’t see which is the right solution for me, yet.
Confirmed that between Connector/ODBC and Connector/NET. There’s huge different. Regarding your question, it is about the similar stuff which require ODBC. You still need to install the connector/ODBC to use that built-in System.Data.Odbc
However, I offer you another solution which is using Connector/Net. This connector uses ADO.NET which is more reliable (ref:MySQL Reference). You should opt for this one if you’re using .NET language.