[Mono-list] MySQL Connector/NET vs Mono

A Rafael D Teixeira rafael.teixeirabr at terra.com.br
Thu Sep 8 17:53:34 EDT 2005


AFAIK, the p/invokes are there but there is logic to guarantee that they
are only called when the platform is Windows, so they don't cause any
adverse effect when run on Linux/MacOSX with Mono.

:)

 
On Thu, 2005-09-08 at 07:55 -0700, Joe Audette wrote:
> I have been using the MySQL Connector in mono for
> quite a while with no trouble at all in my project at
> http://www.mojoportal.com
> 
> I compile it on Windows and deploy it to the bin
> folder of my web on linux and it works fine for me. I
> don't think I am using the very latest version of the
> Connector though, I think I am only 1 version behind
> the current Connector release.
> 
> Hope it helps,
> 
> Joe
> 
> --- Brion Vibber <brion at pobox.com> wrote:
> 
> > The documentation at
> > http://www.mono-project.com/MySQL strongly suggests
> > that MySQL's Connector/NET should be used in
> > preference to the ByteFX
> > driver that ships with Mono.
> > 
> > However the current release of MySQL Connector/NET
> > (1.0.5) appears to be
> > Windows-specific; it attempts to make native calls
> > into some ws2_32.dll
> > and fails to work on Mono on eg Linux or Mac OS X.
> > 
> > Do we know if this is just a packaging bug (MySQL
> > forgot to build a
> > portable-friendly binary?) or if MySQL is
> > specifically abandoning Mono
> > and cross-platform compatibility?
> > 
> > Should Mono's online documentation be updated to
> > reflect this?
> > 
> > -- brion vibber (brion @ pobox.com)
> > > _______________________________________________
> > Mono-list maillist  -  Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> > 
> 
> 
> joe_audette [at] yahoo dotcom
> http://www.joeaudette.com
> http://www.mojoportal.com
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 
> E-mail classificado pelo Identificador de Spam Inteligente Terra.
> Para alterar a categoria classificada, visite
> http://mail.terra.com.br/protected_email/imail/imail.cgi?+_u=rafael.teixeirabr&_l=1,1126191763.243059.13628.niassa.terra.com.br,4816,Des15,Des15
> 
> Esta mensagem foi verificada pelo E-mail Protegido Terra.
> Scan engine: McAfee VirusScan / Atualizado em 07/09/2005 / Versão: 4.4.00/4576
> Proteja o seu e-mail Terra: http://mail.terra.com.br/
> 



More information about the Mono-list mailing list