USing MYSQL with C#

Contributor
3Mar2009,23:01   #1
Carlos's Avatar
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
Contributor
6Mar2009,03:10   #2
Carlos's Avatar
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?

Go4Expert Founder
6Mar2009,08:53   #3
shabbir's Avatar
Have you tried installing MyODBC

The screen shot is from that software
Contributor
7Mar2009,01:08   #4
Carlos's Avatar
Ye I have installed this software properly, but i can't understand how to bring up this window to make connection.
Go4Expert Member
24Mar2009,16:30   #5
vikas1234's Avatar
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