like the title says, I cannot connect to my database via c#, I get the following exception when I try to open an connection:
Unable to connect to any of the specified MySQL hosts
But I can connect no problem with PHP using the exact same login info.
EDIT I am just changing databases. This connection string has worked for 2 years using a different database. I have tried it using Server, instead of Data Source, and UID/User ID instead of UserID with the same result
C#:
ProjectDBC = new MySqlConnection("Data Source=combinedsystems.ca;Database=combined_project;UserID=xxxxx;Password=xxxxx;"); PHP:
$db_user = "xxxxx"; $db_pass = "xxxxx"; $db_database = "combined_project"; $db_host = "combinedsystems.ca"; $mysqli = new mysqli($db_host, $db_user, $db_pass, $db_database); It is probably something easy, but I just can't figure it out right now. Any ideas?
The database is hosted through hosteasysolutions.com if that makes any difference