Jump to content

How to connect to a mysql database


bairdb
 Share

Recommended Posts

I am not that good in Asp.net, but good at mysql so a search down the google found me a good result for your request.http://www.codeproject.com/cs/database/ConnectMySQL.asp
I guess what I am really asking is if you can connect to a mysql database without having a third party bridge or ODBC.net.
Link to comment
Share on other sites

yes you can use System.Data.OleDb class to connect or ODBC
Yeah, the only reliable way I ever found to connect to MySQL through .NET was to use the MyODBC drivers . It also looks like they've come out with ADO.NET drivers too, but I've never used them.I was never able to connect directly without using MySQL's drivers.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...