[unixODBC-support] odbcinst remove dsn command

Nick Gorham nick.gorham at easysoft.com
Mon Apr 19 11:45:18 BST 2010


sathiya dasan wrote:
> Hi,
>     I have successfully added datasource name to 
> /usr/local/etc/odbc.ini file using the command
> "*odbcinst -i -s -l -f dsn.template*".
>     Now am trying to remove datasourcename from system dsn by using 
> the command "*odbcinst -u -s -l -n dsnName*".
> After executing the command, it throws the *output* as,
> *odbcinst: DSN removed (if it existed at all). ODBC_BOTH_DSN was used 
> as the search path*.
I just tried it with current sources, and it seems to work fine. What 
version are you using?

Maybe use strace to see if the command is doing what you expect?

-- 
Nick


More information about the unixODBC-support mailing list