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!

mySql and vb.net

Status
Not open for further replies.

0penmind

Programmer
Jan 13, 2004
3
US
I Installed odbc.net data provider, created a DSN. Now I want to create a simple vb.net application to test the data connection. I go to server explore and add a connection to my database, but I can not see the mySql odbc driver from the provider list. why? Did I do something wrong? thanks.
 
I use myODBC driver, can you help on that?
 
Here is a good article.




Anyway


Dim Conn As New OleDb.OleDbConnection("Provider=MySQLProv;Data Source=DATABASE;UserId=USERNAME;
Password=PASSWORD;")

this should call your DSN without problems.

Bye

Qatqat

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

Part and Inventory Search

Sponsor

Back
Top