-
Notifications
You must be signed in to change notification settings - Fork 1
Driver: Add page about ODBC #411
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
base: main
Are you sure you want to change the base?
Conversation
WalkthroughAdds ODBC driver documentation: a new ODBC docs section (index, setup body, setup widget), ODBC links, and a Language-agnostic ODBC card plus a toctree entry on the Connect index page; also adds an isql subsection to CLI docs. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🚧 Files skipped from review as they are similar to previous changes (1)
🧰 Additional context used🧠 Learnings (2)📚 Learning: 2025-10-10T17:58:26.545Z
Applied to files:
📚 Learning: 2025-10-07T10:19:41.866Z
Applied to files:
🪛 markdownlint-cli2 (0.18.1)docs/connect/odbc/index.md35-35: No space inside hashes on closed atx style heading (MD020, no-missing-space-closed-atx) 81-81: Fenced code blocks should have a language specified (MD040, fenced-code-language) 151-151: Fenced code blocks should have a language specified (MD040, fenced-code-language) 🔇 Additional comments (6)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
## General information | ||
|
||
:::{rubric} About | ||
::: | ||
|
||
:::{div} | ||
Open Database Connectivity ([ODBC]) is a standard application programming | ||
interface (API) for accessing database management systems (DBMS), | ||
conceived to be independent of database systems and operating systems. | ||
The application uses ODBC functions through an _ODBC driver manager_ and | ||
addresses the driver and database using a _Data Source Name (DSN)_. | ||
::: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Before registering the driver, enable the `Driver` line matching your system. | ||
```shell | ||
odbcinst -i -d -f odbcinst.ini | ||
``` | ||
|
||
:::{rubric} DSN-less configuration | ||
::: | ||
|
||
A typical connection string for CrateDB is: | ||
|
||
```text | ||
ODBC;Driver={PostgreSQL ODBC};Server=localhost;Port=5432;Uid=crate;Pwd=crate;MaxVarcharSize=1073741824 | ||
``` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
See also Windows Data Access Components (Windows DAC) cmdlets.
E.g., let's add an example using Add-OdbcDsn
?
About
What the title says.
Preview
https://cratedb-guide--411.org.readthedocs.build/connect/odbc/