odbcinst.ini
or odbc.ini
file that's not located in /etc
?You don't need to be root
to install the Easysoft ODBC-ODBC Bridge client. However, certain parts of the unixODBC Driver Manager installation are not usually possible unless you're root
. If unixODBC is built with the sysconfdir
configuration option set to /etc
, the odbcinst.ini
and odbc.ini
files must be located in /etc
. You can tell unixODBC to look elsewhere for these files by setting and exporting the ODBCSYSINI
environment variable. Point ODBCSYSINI
to another directory you have write access to and create the odbc.ini
and odbcinst.ini
files there instead. For example:
cd $HOME mkdir etc cd etc echo "[ODBC-ODBC Bridge]" > odbcinst.ini echo "Description = Easysoft ODBC-ODBC Bridge" >> odbcinst.ini echo "Driver = $HOME/easysoft/oob/client/libesoobclient.so" >> odbcinst.ini echo "Setup = $HOME/oob/client/libesoobsetup.so >> odbcinst.ini echo "FileUsage = 1" >> odbcinst.ini > odbc.ini ODBCSYSINI=$HOME/etc export ODBCSYSINI