954,202 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

asp.net with MYSQL

Can anyone give me the step by step explanation for connecting asp.net with MYSQL

anto_nee
Junior Poster in Training
76 posts since Aug 2007
Reputation Points: 12
Solved Threads: 4
 

You can use two approaches to connection to MySQL Database.

1.) MyODBC 3.51 Local database (using ODBC)
Driver={MySQL ODBC 3.51 Driver};Server=localhost;Database=myDataBase; User=myUsername;Password=myPassword;Option=3;

2.) OLE DB, OleDbConnection (.NET)
Provider=MySQLProv;Data Source=mydb;User Id=myUsername;Password=myPassword;

You can also try some open source MySQL Drivers but the above 2 are really reliable.

You can also read an article on using MS Access with ASP.NET here
You can also download the sample application by simply registeting.

binoj_daniel
Practically a Master Poster
645 posts since Dec 2006
Reputation Points: 25
Solved Threads: 18
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You