Can't use mysql on mono Linux OpenSuse
Posted by: mostafa alshrief
Date: November 08, 2011 08:31AM

hello every one,
i'm trying to build a simple console application using Mono framework and a MySQL server as a backend data base,

i'm using MySQL Connector/Net 6.4

==================================================================================
when i try to reference the assembly from an absolute dir i get the following error from the gmsc compiler :
Missing method .ctor in assembly /home/mostafa/projects/c-sharp/mysql_test/mysql.data.dll, type System.Security.SecurityRulesAttribute
Can't find custom attr constructor image: /home/mostafa/projects/c-sharp/mysql_test/mysql.data.dll mtoken: 0x0a00002b

when i try to reference the assembly from the GAC i get the following error :
error CS0006: cannot find metadata file `MySql.Data'

Options: ReplyQuote


Subject
Written By
Posted
Can't use mysql on mono Linux OpenSuse
November 08, 2011 08:31AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.