[ODBC-223] Add Connector/ODBC to default odbcinst.ini on Mac Created: 2019-02-15  Updated: 2019-04-04  Resolved: 2019-04-04

Status: Closed
Project: MariaDB Connector/ODBC
Component/s: General
Affects Version/s: 3.1.0
Fix Version/s: 3.1.1

Type: Task Priority: Critical
Reporter: Rasmus Johansson (Inactive) Assignee: Lawrin Novitsky
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Relates
relates to ODBC-201 Add .dmg packaging of the connector f... Closed

 Description   

The installer for Connector/ODBC should add the information about the connector to ODBCINST.INI in the default location on Mac, which is /Library/ODBC/odbcinst.ini. In case the directory and/or file does not exist it should be created. If the file exists new information should be appended to it, since there likely is other connectors/drivers defined in it already.

This should be added to a post installation script of the pkg installer.



 Comments   
Comment by Lawrin Novitsky [ 2019-03-29 ]

The fix has been pushed to develop as 7ca7817

Comment by Geoff Montee (Inactive) [ 2019-03-29 ]

I added a note about this here:

MariaDB Connector/ODBC's PKG package automatically configures itself as a Driver in /Library/ODBC/odbcinst.ini, so you can most likely skip this step.

https://mariadb.com/kb/en/library/creating-a-data-source-with-mariadb-connectorodbc/#configuring-mariadb-connectorodbc-as-a-iodbc-driver-on-mac-os-x

Comment by Lawrin Novitsky [ 2019-04-04 ]

Well, I reopened it like week ago since I found some issues

Comment by Lawrin Novitsky [ 2019-04-04 ]

New commit adf98ae

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