Ask the Expert

Establishing a connection between ASP.NET and MySQL

Can you please tell me how to establish a connection between ASP.NET and MySQL? I am using Visual Studio .NET to create an ASP.NET Web site. Do I need any extra "plug-ins" to make the connection? Thanks for your help.
The easy way is to go to the Mono project Web site, and check its MySQL data provider. You can use it just like the SQL data provider that comes with .NET. You have many other providers there also at http://www.go-mono.org/ado-net.html. An interesting article explaining how to use MySQL from .NET can be found at http://www.mysql.com/articles/dotnet/.

This was first published in December 2003

There are Comments. Add yours.

 
TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: