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 configure my ASP.NET 3.5 Framework?

To configure your ASP.NET3.5 Framework, it is pretty easy via our control panel. For Old In...

After I configure the custom error setting in the control panel, I still get the generic error page?

Custom error setting is a web server setting that sets your website Error Pages, but you can...

Disable Web Config inheritance for Virtual Application

If you have a lot of virtual applications under your webisteYou can Disable the main website's...

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

...

ASP.NET Validation is not working on your server.

...