Object reference not set to an instance of an oject.

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for MySQL in Delphi and C++Builder
Post Reply
kelinda72
Posts: 9
Joined: Fri 05 May 2006 10:27

Object reference not set to an instance of an oject.

Post by kelinda72 » Fri 05 May 2006 13:19

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?

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Sat 06 May 2006 11:12

Please specify what is the value of SQLConnection.LibraryName. For BDS2006 it must be dbexpmda30.dll.

kelinda72
Posts: 9
Joined: Fri 05 May 2006 10:27

dbExpress driver for MySQL

Post by kelinda72 » Mon 08 May 2006 08:02

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:

Antaeus
Posts: 2098
Joined: Tue 14 Feb 2006 10:14

Post by Antaeus » Wed 10 May 2006 12:06

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)

Post Reply