MySQL Forums
Forum List  »  Connector/ODBC

Re: ODBC Connector for Mac Lion -- installation problem
Posted by: Hemant Dangi
Date: August 19, 2013 02:22AM

Hello Scott,

Please check what entries you are getting in your ODBC configuration files.
Also please set ODBCINST, ODBCINI environment variables with path of odbcinst.ini and odbc.ini file and re-run both myodbc-installer command:
export ODBCINST=/sw/etc/odbcinst.ini
export ODBCINI=/sw/etc/odbc.ini

These errors are from Driver Manager. If above doesn't solve your error, for workaround either you can use DSN less connection string as you are able to register driver successfully,

http://dev.mysql.com/doc/refman/5.6/en/connector-odbc-configuration-connection-without-dsn.html

or check you odbc.ini file and insert entries manually.

Example of an odbc.ini file
[ODBC Data Sources]
MyDSN = MyODBC_client_driver_name

[MyDSN]
Driver = driver_path
Database = database_name
Server = server_ip
Username = database_username
Password = database_password

Example of odbc.ini for UNIX OS:
http://dev.mysql.com/doc/refman/5.6/en/connector-odbc-configuration-dsn-unix.html

Some GUI links:
http://support.apple.com/kb/DL895
http://www.odbcmanager.net/
http://www.iodbc.org/dataspace/iodbc/wiki/iODBC/Downloads#Source

Options: ReplyQuote




Sorry, you can't reply to this topic. It has been closed.

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.