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/

  • 1 Users Found This Useful
Was this answer helpful?

Related Articles

I get a database timeout expired error on my ASP.NET application. What can I do?

I get the following error when my ASP.NET application connects to the MS SQL server:...

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

ASP.net allows the developer to encode the page using character sets other than unicode.  If your...

I get a configuration error when I execute my application in a subdirectory. How do I resolve this?

This error may occur if the application is being run out of a subfolder and the subfolder is not...

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...

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...