QUOTE(ssfdre38 @ Apr 19 2012, 03:24 PM)

we dont allow remote connections to our database so Navicat wont be able to connect to our server at all
Hello
I am using vb.net 2005 with reference MySQL Connector Net 6.1.6 I am making application to select or insert data to my database.
I have a connection problem, when I try to open connection to my database I get following error:
"Unable to connect to any of the specified MySQL hosts."
Connection string I am using look like this:
"Data Source=MyServerName;Database=MyDatabaseName;Uid=MyUserName;Pwd=MyPassword"
Part of thr code looks like this:
Dim query As String = "SELECT * FROM Table"
Dim connection As New MySqlConnection("Data Source=MyServerName;Database=MyDatabaseName;Uid=MyUserName;Pwd=MyPassword")
If Not connection.State = ConnectionState.Open Then
connection.Open()
End If
Is there even possible to connect to zymic mysql database with vb.net application?
Thanks.