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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing MySQL throughVisual Basic 6

Status
Not open for further replies.

codo

IS-IT--Management
Oct 31, 2001
187
ID
Any idea how to access mySQL using visual basic? i tried to make connection with ODBC but it seems couldn't find the driver.
 
I notice that you have asked a number of questions but you haven't found any of the answers helpful or valuable to you. You may benefit from reading faq222-2244 to see how to get the best answers from this forum (as I mentioned to you last October)

To connect VB to mySQL using ODBC look here for the connection string:

You will need the appropriate ODBC driver from mySQL:

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
Thanks for your info.
 
You're welcome [smile]

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first.
'If we're supposed to work in Hex, why have we only got A fingers?'
Drive a Steam Roller
 
The ODBC driver for MySQL is available for download at
Using VB6 though I recommend MyOLEDB and a connectionstring like

Provider: MySQLProv
Data Source: SERVER=ZEUS;DB=database_name;UID=user_name;PWD=password;PORT=3128


Cheers

Qatqat





Life is what happens when you are making other plans.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top