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!

Creating a Mysql DSN in code

Status
Not open for further replies.

jbrowne

Programmer
Feb 1, 2000
182
IE
Hi can anyone tell me how to create an ODBC DSN to a mysql database through VB. I also need to be able to specify the port number of the server machine.

Thanks
John B
 
Thanks for that SBerthold - I had seen that thread already though and its almost what I need except for the port part. I need to be able to specify the port number for the server machine and this code doesn't seem to have this in it. Any ideas?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top