rodrigo_alvez
rodrigo_alvez

Reputation: 11

MySQL ODBC on Mac OS X 10.8

I've found some problems while trying to connect to a remote MySQL database using MySQL's ODBC connector. I'm on Mac OS X 10.8.2 and I've installed MySQL ODBC connector 5.2.4. Every time I tried to connect using this ODBC my connection gets refused.

Does anyone have the same issue? Is there any workaround?

Edit: I tested the ODBC connection with iODBC and I got the following result:

SQLDriverConnect = [iODBC][Driver Manager]dlopen(/usr/local/lib/libmyodbc5.so, 6): image not found (0) SQLSTATE=00000
SQLDriverConnect = [iODBC][Driver Manager]Specified driver could not be loaded (0) SQLSTATE=IM003

Upvotes: 1

Views: 7154

Answers (3)

S. McCandlish
S. McCandlish

Reputation: 99

@Jason Sundram (OP): Just FYI, Oracle has (in response to my filing bug reports about their documentation) updated the Mac OS X, mysql 5 installation instructions for Connector/ODBC, at: https://dev.mysql.com/doc/connector-odbc/en/connector-odbc-installation-binary-osx.html

Following those steps might be helpful. They worked for me in OS X 10.9 (Mavericks). But, I'm also not trying to do precisely what you are, with your environment, so I'm not sure what effect reinstalling as instructed there may have on your problem.

Upvotes: 0

snooze92
snooze92

Reputation: 4238

The MySQL Connector/ODBC 2.5.6 for Mac OS X comes only in versions for 10.6 (Snow Leopard) and 10.7 (Lion). I don't know about any official support from MySQL for Mac OS X versions 10.8 (Mountain Lion) or even 10.9 (Mavericks)!

Paid licensed solutions put more effort on supporting the latest Mac OS X versions... I have tried myself the evaluation version Actual ODBC Pack for Mac OS X with Mavericks and could get 3 rows per recordset. You can try that and if it works see if it's worth paying for unlimited rows.

Upvotes: 1

Adrian J. Moreno
Adrian J. Moreno

Reputation: 14859

Are you using the ODBC Administrator utility or the command line?

http://dev.mysql.com/doc/refman/5.0/en/connector-odbc-configuration-dsn-macosx.html

Edit: I don't think I noticed "remote" server. Does that remote server had a user with permissions to connect from your IP address?

Upvotes: 0

Related Questions