Hi, using the following I always get 'MySQLDriverCS Exception: MySQLDriverCS Error: can't connect.' even though the details *are* correct. What gives ?
Dim mySQLConn As MySQLConnection = New MySQLConnection( new MySQLConnectionString("localhost","mysql","root","xxx",3306).ToString())
catch ex as exception
lblConnectionStatus.text = "Error connecting to host: " & ex.message
I'm using the Jan 2003 version of the DLL
Got it to work by changing ToString --> AsString
I stole that from the JS example page as I'm trying this .NET thing for the first time.
Log in to post a comment.