I have setup mysql on a Raspberry PI. I set it up to allow remote connection, created a user that I granted all rights to on all databases. I am able to remotely connect to the database with a non .net client such as Heidi SQL. I am using Sharpdevelop and the latest connector for .net. When my app tries to connect I get the following error:
MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
My connection string looks like this:
"Server=192.168.1.252;Database=my_db;Uid=my_user;Pwd=mypwd;"
Really stuck on this one.
MySql.Data.MySqlClient.MySqlException (0x80004005): Unable to connect to any of the specified MySQL hosts.
My connection string looks like this:
"Server=192.168.1.252;Database=my_db;Uid=my_user;Pwd=mypwd;"
Really stuck on this one.