Re: VB.NET MySQL Connection String
Posted by: Sven Franke
Date: October 08, 2004 01:52AM

What are you using as connector? The 'standard' ODBC? Or the connector.Net from MySQL AB?

When you use the standard ODBC, it should be something like (after installing the 3.51 ODBC driver!):

dim sConString as string
sConString = "driver={MySQL ODBC 3.51 Driver};server=SERVER;uid=USERID;pwd=PASSWORD;database=DBNAME"

dim oCon as System.Data.Odbc.OdbcConnection(sConString)
oCon.Open()

Now i'm using the .net connector from mysql ab..... looks nice!

Sven

Options: ReplyQuote


Subject
Written By
Posted
Re: VB.NET MySQL Connection String
October 08, 2004 01:52AM


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.