I am using C# to connect to mysql database that install in my local machine.After I complete the project I want to publish it in another server.So I change the mysql connection string.Here I mention the
connection string that I used in local machine
String MyConString = "SERVER=localhost;"+"DATABASE=IPG;"+"UID=root;"+"PASSWORD=Test;";
Before publich into server,I change connection string as below
String MyConString = "SERVER=10.2.0.212;"+"DATABASE=IPG;"+"UID=root;"+"PASSWORD=Test;";
But that time its not connect to database.I use IP adreess instead of localhost.Please help me.
Edited by Tank50: n/a