Connection string to connect Remote MySql database in ASP.Net

on Jan 22, 2016 05:27 AM


       I want to connect database(MySQL its in diffrent system) from my system in my company. I just want to know the connection string and also i heard to include ip name in server name in connection string how to get ip in that system. could you please explain in detail

Download FREE API for Word, Excel and PDF in ASP.Net: Download
on Jan 28, 2016 02:23 AM

hi surya,

The System which bearing the mysql must be connected with a public ip in the connection string


,To get Public ip:

mysql installed system:Just type mypublic ip in google 

ConnectionString = "Server=publicipAddress;Database=myprojects;Uid=root;Pwd=root;"

Hope it helps  You