Re: Beginning to use MySQL with C#
Posted by: Kevin Hills
Date: November 02, 2005 02:40PM

I am trying to connect to a mySQL database v5 using C#, I downloaded the mySql Connector mysql-connector-net-1.0.6.zip; The Sample code 'Table Editor' connects with no problem in VS2005 B2, but if I create a new project in VS2005 B2, and cut and paste the code from 'Table Editor' it doesn't connect to the mySql database. I think it has to do with the reference to the MySql.Data.dll, as in the sample the reference points to 'C:\WINDOWS\assembly\GAC\MySQL.Data\1.0.6.15336__c5687fc88969c44d\MySQL.Data.dll', but in my project, when I try to browse to the same path i can only get to 'C:\WINDOWS\assembly\MySQL.Data\' the GAC just doesn't seem to 'exist'. What am I doing wrong? Is there another way I can reference this?

Options: ReplyQuote


Subject
Written By
Posted
Re: Beginning to use MySQL with C#
November 02, 2005 02:40PM


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.