you have to import this namespace
MySql.Data.MySqlClient;
and if you don't find this (MySql.Data.dll) in your machine then download it from .net.
then connect to mysql like this..
MySqlConnection con = new MySqlConnection("server=server_ip;User Id=username;database=databasename;password=password");
thanks
Animesh