MySQL Corelab MyDirect 4.85

Posts   
 
    
Midnight
User
Posts: 14
Joined: 07-Sep-2006
# Posted on: 24-Jun-2009 12:27:39   

I am having problems, as many have before, connecting to a MySql database. I downloaded the CoreLab mysql.net provider. It is version 4.85.36.0, th only 4.x version I can find. LLBLGen connects to the database and creates the LLBL projects, but I when I try to compile my project I get the following error:

The type 'CoreLab.Common.DbConnection' is defined in an assembly that is not referenced. You must add a reference to assembly 'CoreLab.Data, Version=4.70.24.0, Culture=neutral, PublicKeyToken=09af7300eec23701'.

I am using LLBLGEn Pro v 2.6, Visual Studio 2008, Vista 64

I have read other threads here relating to MySql but theyhaven't helped. Could well be my fault but any help would be appreciated.

Thanks, Richard

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 24-Jun-2009 13:58:47   

You should reference the corelab provider assembly.

Midnight
User
Posts: 14
Joined: 07-Sep-2006
# Posted on: 24-Jun-2009 14:11:20   

Walaa,

Of course, simple when you say it. I thought that the reference to CoreLab.MySql would provide me what I needed.

Once again, LLBLGenPRo support is second to none.

Many thanks, Richard

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 24-Jun-2009 14:17:54   

smile