Last post Dec 07, 2010 01:04 AM by Rajneesh Verma
Dec 07, 2010 12:28 AM|Nitin Chotwani|LINK
i have used the following connection string, but it only works for localhost, when i am trying to upload it on server it gives error.,error is specied below..it urgent plz resolve as soon as possible...
<add name="connectionname" connectionString="Server=servername;port=3307;User Id=xyz;Password=abc; database=databasename"/>
MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts.
Dec 07, 2010 01:04 AM|Rajneesh Verma|LINK
Please check you are using same port in online server also check user and password