MySQL Forums
Forum List  »  Connector/ODBC

Re: SQLInstaller error 12: Invalid install path
Posted by: Bogdan Degtyariov
Date: May 04, 2020 03:44AM

Your command for myodbc-installer looks correct.
I tried running it locally and it worked without any problems.
The error message actually is coming from UnixODBC Driver Manager.

After checking the UnixODBC sources I found the following things that could trigger such error:

- odbc.ini file is missing or not accessible for writing.

- Setting $ODBCINI environment variable pointing to a wrong path to odbc.ini
can cause this error. You need to make sure that ODBCINI is set to the correct
location of odbc.ini file and includes the filename as well. For instance:

export ODBCINI=/home/myuser/etc/odbc.ini

- The maximum allowed length of the file path is exceeded. It doesn't look like the case in this situation.

- The odbc.ini file is damaged or failed to pass the structure check.

You can also create another .ini file, which has a different name, not necessarily odbc.ini and point your ODBCINI variable to this file. It can be a test whether there is something wrong with your odbc.ini file or the problem needs further investigating.

Options: ReplyQuote


Subject
Written By
Posted
Re: SQLInstaller error 12: Invalid install path
May 04, 2020 03:44AM


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.