Most servers use php hosting with mysql server database engine on Internet. Sometimes we need to connect to these servers to exchange data or other reason.
In this post you Will see how to Add MySql Reference to C# Windows Form Project.
Firstly we have to download Connector/net for using mysql driver.
Download mysql driver on this link –> https://dev.mysql.com/downloads/connector/net/
After finished setup proccess, add this using namespace..