[PR #1903] [CLOSED] Add ODBC choice for SQL Connection #3822

Closed
opened 2026-02-22 18:34:34 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/1903
Author: @nicho2
Created: 7/19/2024
Status: Closed

Base: masterHead: ODBC


📝 Commits (3)

  • 6cbe59c add possibility to connect to SQL Base by ODBC
  • dedcaa7 Merge branch 'Mintplex-Labs:master' into ODBC
  • fa21d52 add png icon

📊 Changes

10 files changed (+131 additions, -12 deletions)

View changed files

📝 collector/package.json (+3 -2)
📝 frontend/package.json (+3 -2)
📝 frontend/src/pages/Admin/Agents/SQLConnectorSelection/DBConnection.jsx (+2 -0)
📝 frontend/src/pages/Admin/Agents/SQLConnectorSelection/NewConnectionModal.jsx (+31 -0)
frontend/src/pages/Admin/Agents/SQLConnectorSelection/icons/odbc.png (+0 -0)
📝 package.json (+6 -3)
📝 server/package.json (+4 -2)
server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/ODBC.js (+61 -0)
📝 server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/index.js (+5 -1)
📝 server/yarn.lock (+16 -2)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #xxx

What is in this change?

This change introduces a new feature to the project, allowing users to connect to a database using an ODBC connector. A new section in the SQL connection form has been added to support ODBC connections, providing fields for connection name, database user, password, server endpoint, port, database, and driver details. This enhancement will enable more flexible database connectivity options for users.

Additional Information

This feature is critical for users needing to connect to databases not natively supported by the existing options. The ODBC connector ensures a wider range of database compatibility and enhances the project's utility.

Developer Validations

  • I ran yarn lint from the root of the repo & committed changes
  • Relevant documentation has been updated
  • I have tested my code functionality
  • Docker build succeeds locally

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/1903 **Author:** [@nicho2](https://github.com/nicho2) **Created:** 7/19/2024 **Status:** ❌ Closed **Base:** `master` ← **Head:** `ODBC` --- ### 📝 Commits (3) - [`6cbe59c`](https://github.com/Mintplex-Labs/anything-llm/commit/6cbe59cbe5982bd335bca29bee2de74b9ea74117) add possibility to connect to SQL Base by ODBC - [`dedcaa7`](https://github.com/Mintplex-Labs/anything-llm/commit/dedcaa7b97861b34d6b1f5e96b3d86efa1111b7a) Merge branch 'Mintplex-Labs:master' into ODBC - [`fa21d52`](https://github.com/Mintplex-Labs/anything-llm/commit/fa21d527e4359d06ea7eb10c95df6684520649e5) add png icon ### 📊 Changes **10 files changed** (+131 additions, -12 deletions) <details> <summary>View changed files</summary> 📝 `collector/package.json` (+3 -2) 📝 `frontend/package.json` (+3 -2) 📝 `frontend/src/pages/Admin/Agents/SQLConnectorSelection/DBConnection.jsx` (+2 -0) 📝 `frontend/src/pages/Admin/Agents/SQLConnectorSelection/NewConnectionModal.jsx` (+31 -0) ➕ `frontend/src/pages/Admin/Agents/SQLConnectorSelection/icons/odbc.png` (+0 -0) 📝 `package.json` (+6 -3) 📝 `server/package.json` (+4 -2) ➕ `server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/ODBC.js` (+61 -0) 📝 `server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/index.js` (+5 -1) 📝 `server/yarn.lock` (+16 -2) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #xxx ### What is in this change? This change introduces a new feature to the project, allowing users to connect to a database using an ODBC connector. A new section in the SQL connection form has been added to support ODBC connections, providing fields for connection name, database user, password, server endpoint, port, database, and driver details. This enhancement will enable more flexible database connectivity options for users. ### Additional Information This feature is critical for users needing to connect to databases not natively supported by the existing options. The ODBC connector ensures a wider range of database compatibility and enhances the project's utility. ### Developer Validations <!-- All of the applicable items should be checked. --> - [ ] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated - [x] I have tested my code functionality - [ ] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:34:34 -05:00
yindo closed this issue 2026-02-22 18:34:34 -05:00
yindo changed title from [PR #1903] Add ODBC choice for SQL Connection to [PR #1903] [CLOSED] Add ODBC choice for SQL Connection 2026-06-05 15:15:25 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#3822