Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to connect to a remote MySQL server using an ADO connection?

Status
Not open for further replies.

apostolchopov

Programmer
Joined
Jun 8, 2004
Messages
53
Location
BG
Hi, guys!
I would like to know how to connect to a remote MySQL server using an ADO connection object, for example from Delphi. Could you send me some examples, please?!
Thank you very much in advance!
 
Code:
'vb example

PortalStDB = "DRIVER={MySQL ODBC 3.51 Driver};" &_
             "SERVER=111.222.255.255;" &_ 
             "Port=3306;" &_
             "DATABASE=mydb;" &_
             "UID=my_user;" &_
             "PWD=my_pass;"

Bastien

Cat, the other other white meat
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top