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/

eInfoDesigns MySQL .NET Data Provider :
http://www.einfodesigns.com/products.aspx

  • 19 Users Found This Useful
Was this answer helpful?

Related Articles

I get an error 'Server.CreateObject Failed' when I try to use CDONTs. What can I do?

CDONTs is no longer supported on Windows 2003 server.  Microsoft introduced CDO back several...

Do you allow custom COM components?

Yes, we do allow Custom Components and we have to charge setup fee for your COM Components...

ASP to MSSQL connection

Before you can access your MS-SQL Server database from your ASP code , you need to connect to it...

How do I send email from ASP using SMTP Authentication?

Please note that our mail server is configured with Authentication. Below is the code snippet...

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