[Mono-dev] Setting up mysql.data adapter

Jackson Harper jaharper at novell.com
Mon Aug 18 12:04:07 EDT 2008


On Fri, 2008-08-15 at 10:57 -0700, Smacky311 wrote:
> I need to add a reference to MySql.Data.dll so I can use it in my C# program.
> I tried simply searching my computer for this dll w/ no success.
> I'm using Ubuntu.
> I installed libmysql5.0-cil package.
> I am trying to follow these directions: http://www.mono-project.com/MySQL
> I assume I need to add MySQL.data.dll to the GAC as per the step "Installing
> MySql.Data.dll in the GAC: "
> 
> 
> 

You need to download the MySQL connector from here:
http://dev.mysql.com/downloads/connector/net/5.1.html

Download the version that says "Windows Binaries, no installer (ZIP)",
then you can extract the MySQL dlls and if you are creating an ASP.NET
project, place them in your <webapp>/bin/ directory.  Otherwise just put
them in the same directory as your .exe.

Jackson





More information about the Mono-devel-list mailing list