This is not the latest version of this document; to access the latest version, click here.
Unofficial Content

The MySQL Driver for .Net is needed for ADO.NET applications accessing MySQL, and for the IDE when using GAM with MySQL (for example, with cloud deployment in Java and Ruby).

Install MySQL Driver for .NET from the following link: http://sourceforge.net/projects/mysqldrivercs.

After downloading it, when prompted by the installer, select the options Driver and SDK:

MySQLNetConf Setup

After installing it, you will have:

  • mysql.dll - this is a .NET native library to access MySQL (also called libmysql.dll).
  • MySQLDriverCS.dll - this library is the ADO .NET data provider (developed by the project MySQLDriverCS) and is distributed with GeneXus . It is automatically copied to the bin directory.

The current version of MySQLDriverCS.dll is compatible with MySQL Driver for .NET 3.23.32 or higher. Nevertheless, it is recommended to install the new version of MySQL Driver for .NET.

Since GeneXus X Evolution 2 U2 it is possible to run under Windows 64 bits. In that case, install from the https://dev.mysql.com/downloads/c-api/ the 64Bit Mysql Client. The libmysql.dll file will be installed on the C:\Windows\SysWOW64 folder.

Last update: February 2024 | © GeneXus. All rights reserved. GeneXus Powered by Globant