There is no installer available for installing the Connector/NET component on your Unix installation. However, the installation is very simple. Before installing, please ensure that you have a working Mono project installation.
Note that you should only install the Connector/NET component on Unix environments where you want to connect to a MySQL server through the Mono project. If you are deploying or developing on a different environment such as Java or Perl then you should use a more appropriate connectivity component. See Chapter 19, Connectors and APIs.
To install Connector/NET on Unix/Mono:
Download the
mysql-connector-net-
and extract the contents.
version-noinstall.zip
Copy the MySql.Data.dll file to your
Mono project installation folder.
You must register the Connector/NET component in the Global
Assembly Cache using the gacutil command:
shell> gacutil /i MySql.Data.dll
Once installed, applications that are compiled with the
Connector/NET component need no further changes. However, you
must ensure that when you compile your applications you include
the Connector/NET component using the
-r:MySqlData.dll command-line option.


User Comments
For my Fedora Core 6 system I used the following.
1. http://dev.mysql.com/downloads/connector/net/1.0.html "Windows Source and Binaries, no installer (ZIP) 1.0.7 (GA)"
2. # cp /home/dalem/Desktop/mysql-connector-net/bin/mono-1.0/release/MySql.Data.dll /usr/lib/mono/1.0/
# chcon -u system_u -t lib_t /usr/lib/mono/1.0/MySql.Data.dll
3. # pushd /usr/lib/mono/1.0/
# gacutil /i MySql.Data.dll
MySql.Data installed into the gac (/usr/lib/mono/gac)
Then tested with http://www.mono-project.com/MySQL.
Add your own comment.