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