Jump to content

vkzhd

Members
  • Posts

    2
  • Joined

  • Last visited

vkzhd's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Yes Sir. I did turn remote MySQL access in cpanel with "%". Actually if i uses php to connect the MySQL remotely by using host name as "stevie.heliohost.org", it able to make connection with the database. But, when i'm connecting using C# and mysql connector/.NET, it show the error above.
  2. Hi guys. I was trying to make my c# program to access mysql database with stevie.heliohost.org but it keeps showing error. Please help me with it. string cs = "host=stevie.heliohost.org;database=***;uid=***;password=*** "; is there anything wrong with this line? I have hide my database, uid and password for security purpose. The error im getting is as below: Error: MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts. at MySql.Data.MySqlClient.NativeDriver.Open() at MySql.Data.MySqlClient.Driver.Open() at MySql.Data.MySqlClient.Driver.Create(MySqlConnectionStringBuilder settings) at MySql.Data.MySqlClient.MySqlPool.GetPooledConnection() at MySql.Data.MySqlClient.MySqlPool.TryToGetDriver() at MySql.Data.MySqlClient.MySqlPool.GetConnection() at MySql.Data.MySqlClient.MySqlConnection.Open()
×
×
  • Create New...