Cannot coonect to remote DB via .net con
Posted by: Steven Nail
Date: November 28, 2015 12:43PM

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.

Options: ReplyQuote


Subject
Written By
Posted
Cannot coonect to remote DB via .net con
November 28, 2015 12:43PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.