well i doubt you have the permission to connect an "extern" database server as root with no password given. did u create a user account on the remote mysql server? then you should use that account. as far as i know form linux u arent allowed to connect with the root account from outside.
My mySQL is just a test server. The mySQL on the same computer is the same from another computer, same account: uid="root" password=""
The program hangs for at least 30 secs then continues with the line:MsgBox("Connection Failed")
A first chance exception of type 'MySql.Data.MySqlClient.MySqlException' occurred in MySql.Data.dll
I've replacedMsgBox("Connection Failed") with this
Select Case Err.Number
Case 1041 : MsgBox("Error: Server error")
Case 1044 : MsgBox("Error: DB Error")
Case 1045 : MsgBox("Error: Access denied")
Case 1049 : MsgBox("Error: DB Error - Check the DB Name")
Case Else
MsgBox("Error: " & Err.Number)
End Select
I receive this display "Error: 5"