MySQLDriverCS
This .NET Framework Class Library is provided by MySQLDriverCS project team.
The main functionality of the class library is contained in the file mySQLDriverCS.dll.
Add a reference to the assembly MySQLDriverCS and include the MySQLDriverCS namespace. Instantiate a new MySQLConnection connection object. Set the connection string and open the connection.
VB.NET code sample
Imports MySQLDriverCS
Dim myConnection As MySQLConnection = New MySQLConnection()
myConnection.ConnectionString = myConnectionString
myConnection.Open()
' execute queries, etc
myConnection.Close()
C# code sample
using MySQLDriverCS;
MySQLConnection myConnection = new MySQLConnection();
myConnection.ConnectionString = myConnectionString;
myConnection.Open();
// execute queries, etc
myConnection.Close();
Description
A free simple .NET compliant MySQL driver. Made in C# but it would be used in all .NET compatible languages (VB.NET, Managed C++,...). This project was developed by M.L. Vidas Livschitz in collaboration with CeDEI, Ramon Llull University, Barcelona, Spain.
More info about this class library can be found at the MySQLDriverCS project team product page.
Download
This .NET Framework Class Library, MySQLDriverCS, can be downloaded here.
Connection Strings
The MySQLDriverCS class library can be used to connect to the following data sources by using the following connection string references: