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

Defining Database via .odbc.ini is not working on macOS #27

Open
kimmolinna opened this issue Jul 27, 2024 · 0 comments
Open

Defining Database via .odbc.ini is not working on macOS #27

kimmolinna opened this issue Jul 27, 2024 · 0 comments

Comments

@kimmolinna
Copy link

I can connect to database with connection string but using DSN from .odbc.iniis not working.

iusql "DSN=DuckDB;Database=/Users/linna/test.db works, but

iusql DuckTestgives me [ISQL]ERROR: Could not SQLPrepare

My .odbc.ini looks like this

[DuckDB]
Driver = DuckDB Driver
Database = :memory:
access_mode = read_only
allow_unsigned_extensions = true

[DuckTest]
Driver = DuckDB Driver
database = /Users/linna/test.db
access_mode = read_only
allow_unsigned_extensions = true
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

1 participant