This page has moved or been replaced. The new page is located here:

Please update any bookmarks that point to the old page.

Download this Manual
User Comments
  Posted by Dale Moore on November 5, 2006
For my Fedora Core 6 system I used the following.

1. "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
  Posted by Jeremy Hatcher on June 11, 2009
OpenSuse 11.1 story:

After downloading .NET connector 6.0.3 my directory didn't contain MySql.Data.dll ... but it DID contain I went through all of the motions on the instruction page (substituting lowercase for upper) to no avail.

Finally, I renamed to MySql.Data.dll and went through the motions again -> VOILA. Only problem is that then the installed package looks for

The gist of this is, #>cp MySql.Data.dll
#>gacutil -i MySql.Data.dll

You may also need to copy to /usr/lib/mono/<version>

  Posted by Jack Torrance on November 20, 2009
Thanks a lot Jeremy, I was trying to make it work using but no success.
Finally, renaming to MySql.Data.dll and installing it made it work.
  Posted by Ben Last on June 17, 2010
To get the connector to be fully usable under Mono 2.4 on Ubunbtu and monodevelop 2.2, I had to do the same as explained above (produce MixedCase copies of the files) and install with:
gacutil -i -package 2.0 MySql.Data.dll
This installs in the GAC and also adds a symlink in /usr/lib/mono/2.0 (or wherever your Mono installation is set up). If monodevelop won't see the assembly, then you can add a reference to the dll in /usr/lib/mono/2.0 (monodevelop is picky about which assemblies it'll show references to).

  Posted by Fritz Wepper on August 29, 2011
Note that under Mono the data provider must also be added to the machine.config file:

  Posted by Mike Chase on September 11, 2012
On my Linux box running Ubuntu 12.04, I had to rename the to mixed case MySql.Data.dll, and then register with the gac. I used the v4 folder, no the v2.
  Posted by gong hugo on June 25, 2015
I tried in ubuntu 14.04 x64, everything is fine. no need any special works. mysql connector, I picked ver 6.7.8
I installed libs:
apt-get install mono
apt-get install libmono-system-data2.0-cil libmono-system-data4.0-cil
gautil /i MySql.Data.dll

Sign Up Login You must be logged in to post a comment.