Smacky311 | 15 Aug 19:55
Favicon

Setting up mysql.data adapter


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: "

--

-- 
View this message in context: http://www.nabble.com/Setting-up-mysql.data-adapter-tp19003010p19003010.html
Sent from the Mono - Dev mailing list archive at Nabble.com.
Jackson Harper | 18 Aug 18:04
Favicon

Re: Setting up mysql.data adapter

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

Gmane