MySQL Forums
Forum List  »  Connector/ODBC

MySQL Connector 5.3.9 drivers will not load - macOS High Sierra
Posted by: Samuel Clark
Date: November 22, 2017 01:12PM

I recently installed MySQL 5.7.2 on macOS High Sierra 10.13.1. I also installed the most recent iODBC Administrator 3.52.12 and the MySQL Connector ODBC 5.3.9, using the package installer.

After setting up a test database in MySQL and verifying that it all works well using MySQL Workbench, and setup a user DSN in iODBC Administrator for that database. The iODBC test of the DSN fails with:

IM003
[iODBC][Driver Manager]Specified driver could not be loaded

If I move the driver files from: [/usr/local/mysql-connector-odbc-5.3.9-macos10.12-x86-64bit/lib/] to [/usr/local/lib], I get the previous IM003 error followed by this additional error:

00000
[iODBC][Driver Manager]dlopen(/usr/local/lib/libmyodbc5a.so, 6): no suitable image found. Did find:
/usr/local/lib/libmyodbc5a.so: mach-o, but wrong architecture
/usr/local/lib/libmyodbc5a.so: stat() failed with errno=17

I wonder if there's a solution to this?

Options: ReplyQuote




Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.