[Mono-devel-list] MySql Connectivity in Mono

Daniel Morgan danielmorgan at verizon.net
Mon Jan 3 20:52:19 EST 2005


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




More information about the Mono-devel-list mailing list