Page 1 of 1

Object reference not set to an instance of an oject.

Posted: Fri 05 May 2006 13:19
by kelinda72
I use delphi 2006 and MySql 5.0

in the DataModule i add SQLConnection1.
My parameter

HostName=localhost, database=prova, UserName=root, password=xxx
....

when i make Connected=true averything going on good!!

I add a sqltable

SQLConnection = SQLConnection1
SchemaName = "prova"
TableName= impegni

WHEN I MAKE ACTIVE=TRUE //THIS ERRORE APPEAR

Object reference not set to an instance of an oject.


SomeOne can help me?

Posted: Sat 06 May 2006 11:12
by Antaeus
Please specify what is the value of SQLConnection.LibraryName. For BDS2006 it must be dbexpmda30.dll.

dbExpress driver for MySQL

Posted: Mon 08 May 2006 08:02
by kelinda72
I add my component SQLConnection, automatically i can choice from a list the driver name, i choice MY SQL and automatically the property set in the Library name is dbxmys30.dll not dbexpmda30.dll.
I'm looking for this dll (dbexpmda30) in my hd, but there isnt, where can i found?


thanks a lot :roll:

Posted: Wed 10 May 2006 12:06
by Antaeus
It looks like Core Lab driver for dbExpress wasn't installed. As we can see, you use standard driver that we don't support.
When you install our dbExpress driver, following driver names appear:
MySQL (Core Lab)
MySQL Direct (Core Lab)
MySQL Embedded (Core Lab)