private string conString = "Data Source=173.56.33.6;Database=musicapp;User ID=guest;Password=guest";
I was working on local database at that time my application was successfully interacting with mysql database.when put the database on server, my application still taking the old connection string and data is stored in local database and not on server.
what is wrong?
private string conString = Data Source=173.56.33.6;Database=musicapp;User ID=guest;Password=guest; I was working on local database at
Share
I’d remove hard coded connection strings all together. There is a dedicated section of your config file for this very purpose:
Which you can then read out: