PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Windev 21 - Can 32 bit Windev 21 native connection connect to Mysql 8.0.41?
Windev 21 - Can 32 bit Windev 21 native connection connect to Mysql 8.0.41?
Débuté par Sam Asid, 26 fév. 2025 18:38 - 2 réponses
Posté le 26 février 2025 - 18:38
Hello All,

A client has asked me to upgrade MySQL to server 8.0.41 from 5.0.67 to work with an application developed in windev 21.

I have installed MySQL sever 8.0.41 but I have not been successful in connecting Windev to it via the native access.

Question:
Can a windev 32 bit installation access mysql 64 bit?. If yes, what do I need to do to make the connection go through?

The error I get is as below:

Connection to database failed
Unable to connect to 'localhost' database
native mySQL access error
Error number =27

The MySQL client layer may not be installed properly.
No access library to mySQL was found, the libmysql.dll module (32 bits) or one of its dependencies has not been loaded.
The MySQL client layer must be found in a directory declared in PATH

System error Details:
libmysql.dll.

Thank you.

Sam
Posté le 07 mars 2025 - 10:55
You must use the correct libmysql.dll, the one supplied with the DB version you installed
Posté le 10 mars 2025 - 05:39
Fulvio wrote:
> You must use the correct libmysql.dll, the one supplied with the DB version you installed

Thank you Fulvio for the response. I have done, as you have suggested, without any success. It brings me back to my question as per the details below:

Windev installation: 32 bit of version 21
libmysql.dll is from mysql 8.0.41 (which is by default 64bit) - This is located in \windev21\Programs\Framework\Win64x86.
Using 64 bit Windows 10 Home edition

Is there anything else I am missing or I need to do?

Thanks.