Click here to Skip to main content
15,891,951 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have tested on Win32 target platform and win64
The Win10 is 64 bit and MySQL 8 64bit

FDConnection
FDPhysMySQLDriverLink

VedorLib
C:\Program Files\MySQL\MySQL Server 8.0\lib\libmysql.dll


[FIREDAC][Phys][MySQL] autentication PlugIn caching_sha2_password: cannot be loaded vendor library

Library has unsupported architetture[x64]. required[x86]


What I have tried:

drivername MySQL
port 3306
Server 127.0.0.1

same problem for

server db4fre.net
Posted
Updated 28-Apr-19 22:17pm

1 solution

The error message is self-explanatory...

Quote:
Library has unsupported architetture[x64]. required[x86]


As is stated here: Mysql configuration in Delphi 10.3 - Delphi Language - Programming Languages - IDERA Community[^]...
Quote:
If you use a 64-bit SQL server, the client DLLs will also be 64-bit. To connect at design time or to use this server with a 32-bit application, download 32-bit DLLs from MySQL :: Download Connector/C (libmysqlclient)[^] .
 
Share this answer
 
Comments
Member 13174280 29-Apr-19 11:47am    
I have installed connector 8.0.6 win32 (libeay32.dll)

inserted this file on
C:\Users _Test _Documents _Embarcadero _Studio _Projects _Win32 _Debug
and on
C:\Windows\System32

FDPhysMySQLDriverLink1.VendorLib
C:\Users _Maurizio _Documents _Embarcadero _Studio _Projects _Win32 _Debug _libeay32.dll

A Design Time doesn't work

At runtime, it all goes down.

FDPhysMySQLDriverLink1.VendorLib := ExtractFilePath(Application.ExeName) + 'libmysql.dll';
FDConnection1.Connected := true;

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900