USing MYSQL with C#

Carlos's Avatar, Join Date: Dec 2008
Contributor
Hello! i want to join MYSQL with C# windows based application.

Someone has told me to add reference of MYSQL.DATA into my C# application, but i haven't found any file named such.

So! can anyone tell me how to join MYSQL database with C#.

Please! mention proper steps.
Thanx
0
Carlos's Avatar, Join Date: Dec 2008
Contributor
Please see this link:
http://www.geekpedia.com/tutorial139...-and-ODBC.html

I have installed MYSQL Connector/ODBC, but still there is no option of "Data Sources (ODBC)" in my
start->setting->control panel.

Please tell me how can i bring this option?

0
shabbir's Avatar, Join Date: Jul 2004
Go4Expert Founder
Have you tried installing MyODBC

The screen shot is from that software
0
Carlos's Avatar, Join Date: Dec 2008
Contributor
Ye I have installed this software properly, but i can't understand how to bring up this window to make connection.
0
vikas1234's Avatar, Join Date: Aug 2008
Go4Expert Member
if the mysql server is installed on the same machine use localhost as the server url ... have u created the database on mysql server ..... ur connection s tring would be
hostnameort:sid. Then u have a user name and password fill the form based on this entry and test the connection