How do I connect my ASP.net application to MySQL database?

In general, 2 different methods can be used to connect an ASP.net application to MySQL database.

  • Using ODBC .net data provider
  • Using a MySQL native .net data provider

We only provide support for using ODBC .net data provider to connect to MySQL.

Our servers do not have any MySQL .net data provider installed because of the lack of standardization in this market. If you prefer to use native drivers to connect to MySQL, you can upload the data provider to your bin directory.

Here is a list of available MySQL .net data providers

MySQLDriverCS:
http://www.salleurl.edu/~manuellv/Public/english.8.1.html

ByteFX MySQL Driver:
http://sourceforge.net/projects/mysqlnet/

Core Lab MySQLDirect .NET Driver:
http://crlab.com/mysqlnet/

Was this answer helpful?

 Print this Article

Also Read

How do I get my ASP.net application to display non-English language

...

ASP.NET Validation is not working on your server.

...

How do I setup custom error for my ASP.net application?

ASP.net has its own built-in error handling. To set up custom error handling for your ASP.net...

I am using ASP.NET and Internet Explorer Web Controls and it does not work when I open the page. What is wrong?

For Internet Explorer Web Controls to work properly you need to have the required HTML...

Why can I still access my ASP.NET pages even though I disabled anonymous access to my directory?

After disabling anonymous access in the permission manager in the control panel, ASP.net pages...