VB.NET MySQL Connection String
I'm trying to open the connection to a mysql database via VB.Net. But it don't works.
I tried for example:
*1*********************
Dim sConnectionString As String _
= "Initial Catalog=shop;Data Source=localhost"
Dim objConn As New MySQLConnection
objConn.Open()
=> It don't knows "MySQLConnection. And I can't import CoreLab.MySql, ByteFX.Data.MySQLClient or eInfoDesigns
*2****************************
Dim sConnectionString As String _
= "Provider=MySQLProv;SERVER=localhost;DATABASE=shop
Dim objConn As New OleDbConnection(sConnectionString)
objConn.Open()
=> can't open objConn
*3****************************
Dim sConnectionString As String _
"Provider=SQLOLEDB;Data Source=(local);Initial Catalog=shop;Integrated Security=SSPI"
Dim objConn As New SqlConnection(sConnectionString)
objConn.Open()
Subject
Written By
Posted
VB.NET MySQL Connection String
October 06, 2004 08:27AM
November 08, 2004 08:17PM
November 09, 2004 11:21AM
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.