Hello people
I was trying to connect 1 site's mysql db from other site and wasnt able to do it. Here are few combinations that i tried and failed miserably
1. From my localhost pages, i tried to connect with Site A and Site B using their connection strings respectively.
2. From Site A, i tried to call site B's db.
3. From site B, i tried to call Site A's db.
All attempts failed with following error
At line[Exception: Exception of type 'System.Exception' was thrown.]
MySql.Data.MySqlClient.NativeDriver.Open() +110
[MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.]
code's working if i am using the same site's db as all 3 locations have same db structure.Code:Con.Open()



LinkBack URL
About LinkBacks

Reply With Quote



lol 

Bookmarks