Re: Unable to connect to any of the specified MySQL hosts
Posted by:
Matt
Date: December 28, 2006 09:29AM
This connection string has worked for me since version 1.04. I am currently using 5.0.2.
Dim Conn As New MySqlConnection
Dim Command As New MySqlCommand
Conn.ConnectionString = "server=192.168.0.25;port=3306;uid=myuserid;pwd=mypassword;database=mydatabase;"
Conn.Open()
Command.Connection = Conn
If Conn.State = ConnectionState.Open Then
MsgBox("It works!")
Else
MsgBox("Why me?")
End If
Subject
Written By
Posted
December 27, 2006 01:33PM
December 28, 2006 08:52AM
Re: Unable to connect to any of the specified MySQL hosts
December 28, 2006 09:29AM
December 28, 2006 09:58AM
December 28, 2006 10:26AM
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.