- September 3, 2012
- 238
- 26
- 25
- Home Country
- United States of America
Gentle.Common.GentleException: The database backend (provider MySQL) could not be reached.
Check the connection string: Server=INTEL-PC;Database=MpTvDb;User ID=root;Password=***;charset=utf8;Connection Timeout=30; ---> MySql.Data.MySqlClient.MySqlException: Unable to connect to any of the specified MySQL hosts. ---> System.Exception: Exception of type 'System.Exception' was thrown.
Well, that points to a problem with name resolution (DNS) or an incorrect gentle.config file (database configuration) on the client.If I change the hostname to INTEL-PC on my client the connect test fails.
If the server name [INTEL-PC] is correct then ensure firewalls are not blocking access and use ping to check DNS is resolving the hostname to the correct IP address.
Please check that hostname can be resolved from the client.