Have you placed the MySql.Data assembly in the mono lib path?
> -----Original Message-----
> From: Jorge Calás Lozano [mailto:jcalas@stripped]
> Sent: Sunday, April 03, 2005 5:43 PM
> To: Sergio Duran; dotnet@stripped
> Subject: Re: MySql connector/Net and mono
>
> Hi, I still have some problems with MySql.Data Assembly and
> mono, here is what I'm doing.
>
> [root@sysmail ~]# cd ~/MySql-Connector-Net/bin/net-1.1/release/
> [root@sysmail release]# ll
> total 500
> -rwxr-xr-x 1 root root 139264 Jan 20 11:12 MySql.Data.dll
> -rwxr-xr-x 1 root root 114688 Jan 20 11:12
> MySql.Data.Tests.dll -rwxr-xr-x 1 root root 230069 Jan 20
> 11:12 MySql.Data.xml [root@sysmail release]# *gacutil -i
> MySql.Data.dll* MySql.Data installed into the gac
> (/usr/local/lib/mono/gac) [root@sysmail release]# *gacutil -l
> MySql.Data* The following assemblies are installed into the GAC:
> MySql.Data, Version=1.0.4.20163, Culture=neutral,
> PublicKeyToken=c5687fc88969c44d Number of items = 1
> [root@sysmail release]# cd ~/learncs/ [root@sysmail learncs]#
> ll total 56 drwxr-xr-x 2 root root 4096 Apr 1 18:22 hello1
> drwxr-xr-x 2 root root 4096 Apr 1 18:22 hello2 drwxr-xr-x 2
> root root 4096 Apr 1 18:47 hello3 drwxr-xr-x 2 root root 4096
> Apr 1 19:20 hello4 drwxr-xr-x 2 root root 4096 Apr 2 18:44
> mysql1ststeps
> -rw-r--r-- 1 root root 2288 Apr 3 16:06 test.cs [root@sysmail
> learncs]# [root@sysmail learncs]# *mcs test.cs*
> test.cs(2) error CS0246: The namespace
> `MySql.Data.MySqlClient' can not be found (missing assembly
> reference?) Compilation failed: 1 error(s), 0 warnings
> [root@sysmail learncs]# *mcs -r:MySql.Data test.cs* error
> CS0006: Cannot find assembly `MySql.Data'
> Log:
>
> Compilation failed: 1 error(s), 0 warnings [root@sysmail
> learncs]# As you can see, it's not working properly (I
> think). Can anyone help me with this please?
> Thanks in advance
> Jorge Calás
>
>
> On Apr 3, 2005 12:51 PM, Sergio Duran <sergioduran@stripped> wrote:
> > The default package works out of the box under mono and
> under Microsoft
> .Net
> >
> >
> >
> > On Apr 2, 2005 4:34 PM, Jorge Calás Lozano <jcalas@stripped>
> wrote:
> > >
> > > Hi,
> > >
> > > As I see, there is not a MySql connector/Net version for
> mono/linux
> > > and the solution should be compile it with mono in linux,
> does anybody
> > > did that before? How should I do?
> > >
> > > Thanks in advance,
> > >
> > > --
> > > Jorge Calás Lozano
> > > http://www.volarencuba.com
> > >
> > > --
> > > MySQL on .NET Mailing List
> > > For list archives: http://lists.mysql.com/dotnet
> > > To unsubscribe:
> http://lists.mysql.com/dotnet?unsub=1
> > >
> > >
> >
> >
>
>
>
> --
> Jorge Calás Lozano
> http://www.volarencuba.com
>