[ODBC-404] Build ODBC connector for Windows on Arm Created: 2023-11-28  Updated: 2024-01-17

Status: Open
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: None
Fix Version/s: None

Type: New Feature Priority: Minor
Reporter: Trevor Gross Assignee: Lawrin Novitsky
Resolution: Unresolved Votes: 0
Labels: Compatibility
Environment:

Windows on Arm in a VM


Attachments: PNG File image-2023-11-28-18-38-53-407.png    
Issue Links:
Relates
relates to ODBC-408 Provide binary download for windows a... Open

 Description   

The x86 connectors do not seem to work with Windows on Arm, which is now officially supported https://learn.microsoft.com/en-us/windows/arm/overview. It seems like the x86 drivers should work in compatibility mode, but install fails with error 193:

From the internet it seems like the MySQL ODBC connector has the same problem but paid connectors from CData work. There is some discussion at https://forum.parallels.com/threads/mysql-connector-odbc-for-win-11-arm.356741/.



 Comments   
Comment by Lawrin Novitsky [ 2023-11-30 ]

Thank you for your request. It's hard for me to tell atm what exactly prevents connector installation on arm. It needs some time and investigation, and currently we don't have anything to try/test on.

But reading that discussion and MS's announcement, people could install (MySQL's) 32b connector and some could 64b connector. One of steps seems to be installing latest VS redistributables package from here. MS says that 32b should run on Win10, and 64b - on WIn11.
Did you try that?

Comment by Trevor Gross [ 2024-01-17 ]

Sorry, this slipped my mind but thanks for the followup!

I did have redistributables installed (both x86 and aarch64 components), but have not yet tried any 32-bit connectors. I will try to test that out soon.

I also have not yet tested building from source, that's on the to-try list too.

Generated at Thu Feb 08 03:28:27 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.