[Mono-devel-list] MySql Connectivity in Mono

Joshua J. Brickel joshuab at aquanet.co.il
Tue Jan 4 04:29:31 EST 2005


This would probably work with Mono on Windows.  However for Mono on 
Linux I have had problems using the MySql .Data because it has been 
specifically compiled for windows and does not seem to allow for one to 
open the database using Unix like sockets. 

Has anyone else had this experience?  From what I remember of the 1.0.2 
version of MySql connector from the mysql.com website is that within the 
code there are mono/dotnet compiler options that must be set/unset.  But 
at anyrate what I found was that the version precompiled on the website 
will not work on Linux.

-Joshua


Daniel Morgan wrote:

>MySQL's MySql.Data would need to be installed in Mono's GAC for it to run.
>Also, mcs needs to find MySql.Data in your PATH in order to compile it.
>
>To install it in mono's gac:  gacutil -I MySql.Data.dll
>
>Or you could use ByteFx.Data that is included with Mono.  The assembly is
>ByteFX.Data and the assembly is ByteFX.Data.MySqlClient.
>
>Note, the author no longer maintains ByteFX.Data no more.  So, it is best to
>use the one from MySQL.
>
>-----Original Message-----
>From: mono-devel-list-admin at lists.ximian.com
>[mailto:mono-devel-list-admin at lists.ximian.com] On Behalf Of Colt D.
>Majkrzak
>Sent: Monday, January 03, 2005 3:10 PM
>To: mono-devel-list at lists.ximian.com
>Subject: [Mono-devel-list] MySql Connectivity in Mono
>
>
>Hello, I'm currently using VS.Net 2003 to write some asp/C# pages and I'm
>trying to hook to a MySQL server.  I've installed the Connectivity kit and
>it works fine with MS.Net Framework, with MySql.Data installed, but once I
>attempt to move the asp pages to the mono/apache/xsp server the pages begin
>to error.  Does MySql.Data exist in mono by the same name or do I need to
>reference it differently?  Probably a very newbish question, so thanks in
>advance!
>
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
>II------------------------------------------------------------------------
>II     AquaNet promises to take care and help its' customers stay safe       
>II This Mail was Scanned By AquaNet's Anti-Virus Server And was Found OK!  
>II              http://www.aquanet.co.il                                  
>II------------------------------------------------------------------------
>
>
>
>
>
>  
>



II------------------------------------------------------------------------
II     AquaNet promises to take care and help its' customers stay safe       
II This Mail was Scanned By AquaNet's Anti-Virus Server And was Found OK!  
II              http://www.aquanet.co.il                                  
II------------------------------------------------------------------------





More information about the Mono-devel-list mailing list