First steps with mySQL and ZEOS

Forum related to MySQL

Moderators: gto, cipto_kh, EgonHugeist

Post Reply
Josef Koller
Junior Boarder
Junior Boarder
Posts: 26
Joined: 04.09.2005, 14:46

First steps with mySQL and ZEOS

Post by Josef Koller »

Hello,

my first steps with zeos and mySQl are not ok. I get the error

None of the dynamic libraries can be found: libmysql41.dll.

I done this:

I give a ZConnection1 to the form
DataBase : new_db
HostName: localhost (or 127.0.0.1 the same error)
port: 3306
protocol: mysql-4.1
user: root
pasword : none

with a click to connected I got the error.

What's wrong? Have I forgot some things?

Thanks

Josef
User avatar
mdaems
Zeos Project Manager
Zeos Project Manager
Posts: 2766
Joined: 20.09.2005, 15:28
Location: Brussels, Belgium
Contact:

Post by mdaems »

Probably you forgot to put the mysql client library libmysql41.dll into the dll search path of your app. Just put it in the same dir as your app or windows\system32. You can find the file in the zeoslib 'lib\mysql' directory or, even better, in the mysql distribution (in this case you will have to add the '41' by renaming).

Mark
Post Reply