Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODBC.drivers() does not list/find drivers #233

Closed
kskoeld opened this issue May 11, 2019 · 2 comments
Closed

ODBC.drivers() does not list/find drivers #233

kskoeld opened this issue May 11, 2019 · 2 comments

Comments

@kskoeld
Copy link

kskoeld commented May 11, 2019

Using version 0.8.2 with Julia 1.1.0
ODBC.drivers() only returns 0×2 Array{String,2}
Using unixODBC 2.3.4 and testing driver and DSN with isql works fine.
ODBCINIand ODBCINSTINI are set correctly in environment.
How can I specify the driver?
ODBC.ODBCDriverConnect! looks like it could be a good candidate, but its not documented (see #232)

@laashe
Copy link

laashe commented Jun 5, 2019

I'm experiencing the same issue, feedback here would be wonderful!

@kskoeld Have you gotten any further in connecting with ODBC?

@quinnj
Copy link
Member

quinnj commented May 25, 2020

This should be fixed on master; we now ship and configure our own driver managers (iODBC/unixODBC) that should use a consistent odbcinst.ini file (on non-windows of course). Note, however, that after doing ODBC.adddriver or ODBC.removedriver, you often need to restart your julia session to see the changes reflected in ODBC.drivers() since the driver manager will often cache the file per session.

@quinnj quinnj closed this as completed May 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants