I have Windows7 32bit and 64bit virtual computers aranged tiled.
Both do have HeidiSQL same installation, not portable, installed by downloaded exe. same ini-file.
When connecting to MariaDB 10.4.11 the 32bit has connected well. The 64 bit has reported error, you may see on screenshots.
I have copied the lib file from 32bit into 64bit and did not connect. I have copied the lib from 64bit into 32 bit, to try, and did not connect.
In 7z-file below you may find both dll's.
https : // mega.nz / #F!4qIHmAQZ!IOrvwdEtWCXuQr_LvaRAiA
On screenshots you may see 2 virtual computer windows aranged tiled. Screenshots A, B are demonstrating connection.
I would be glad if you fix it in 64x. Bye! ....... Roman