Page 1 of 1

First steps with mySQL and ZEOS

Posted: 29.05.2006, 20:09
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

Posted: 30.05.2006, 08:44
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