Page 1 of 1

Requested database driver was not found

Posted: 02.02.2006, 14:36
by DEXTER997
Hi,

I have Delphi 2005 and ZEOS Lib ver. 6.5.1, MySQL server 3.23.
On projects's from I have one component ZConnection1.

ZConnection1.database := 'mybase';
ZConnection1.Port := 0;
ZConnection1.HostName := 'localhost';
ZConnection1.User := 'root';
ZConnection1.Password := 'mypass';

When I job in my project in Delphi 2005 I have conections with my database and I see datas from tables on forms.

When I run program I see this message: "Requested database driver was not found"

Files:

libmysql323.dll
libmysql320.dll
libmysql.dll
libmysql340.dll
libmysql341.dll

are in c:\windows\system32
and in c:\Projest Folder

Can you help me ?

Dexter

Posted: 02.02.2006, 16:24
by gto
Hello!

Are you setting the protocol property?
try with:

ZConnection1.Protocol := 'mysql-3.23';

hope it helps! :)

Yes, I have this.

Posted: 02.02.2006, 16:30
by DEXTER997
Dexter

Posted: 02.02.2006, 16:31
by DEXTER997
Yes, I have this.

Dexter