{"id":14956422,"url":"https://github.com/mongodb/mongo-odbc-driver","last_synced_at":"2025-10-19T07:31:19.239Z","repository":{"id":33839073,"uuid":"423997770","full_name":"mongodb/mongo-odbc-driver","owner":"mongodb","description":null,"archived":false,"fork":false,"pushed_at":"2025-01-21T19:44:42.000Z","size":21290,"stargazers_count":23,"open_issues_count":2,"forks_count":16,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-01-29T09:38:10.099Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-11-02T21:01:34.000Z","updated_at":"2025-01-14T03:43:50.000Z","dependencies_parsed_at":"2024-01-29T20:17:59.516Z","dependency_job_id":"d7a21380-ddcc-4b42-b671-2c013e88e6bc","html_url":"https://github.com/mongodb/mongo-odbc-driver","commit_stats":{"total_commits":220,"total_committers":12,"mean_commits":"18.333333333333332","dds":0.8409090909090909,"last_synced_commit":"adbae8d003d91816ea3167ad048b899d385e12b4"},"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-odbc-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-odbc-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-odbc-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Fmongo-odbc-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/mongo-odbc-driver/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088409,"owners_count":19253565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-09-24T13:13:02.915Z","updated_at":"2025-10-19T07:31:11.094Z","avatar_url":"https://github.com/mongodb.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MongoDB ODBC Driver\n\nA 64-bit unicode ODBC driver for connecting to Atlas Data Federation using the MongoSQL dialect.\n\nIf you're looking for an ODBC driver to use with the [MongoDB\nConnector for BI](https://docs.mongodb.com/bi-connector/current/),\nplease see the\n[mongodb/mongo-bi-connector-odbc-driver](https://github.com/mongodb/mongo-bi-connector-odbc-driver)\nrepository.\n\n## Verify Integrity of MongoDB ODBC Driver Packages\nYou can download the [MongoDB ODBC Driver](https://www.mongodb.com/try/download/odbc-driver) from MongoDB Download Center.   \n1. Select the platform and version you want to verify on that page.   \n2. Click `Copy link` and use the URL while following the instructions to validate MongoDB packages described [here](https://www.mongodb.com/docs/manual/tutorial/verify-mongodb-packages/).\n\n\u003e :warning:  \n\u003e For this [step](!https://www.mongodb.com/docs/manual/tutorial/verify-mongodb-packages/#download-then-import-the-key-file), download and import the MongoDB ODBC Driver public key using this url : `https://pgp.mongodb.com/atlas-sql-odbc.asc`\n\n## Manually set up the ODBC driver on Windows for local development\nNote: users can utilize the built-in driver manager.\n1. Update the values of `Driver`, `Pwd`, `Server`, `User`, and `Database` in `setup/setupDSN.reg`. The value of `Driver` should be the absolute path of `mongoodbc.dll`. This file should be located in either the `mongo-odbc-driver/target/debug` directory or in the release directory.\n\n2. For 32-bit architectures, modify the file path `HKEY_LOCAL_MACHINE\\SOFTWARE` in `setupDSN.reg` so that it is instead `HKEY_LOCAL_MACHINE\\Wow6432Node\\SOFTWARE`.\n\n3. Run `reg import \"setup/setupDSN.reg\"` in order to populate the registry editor with the new entries. Alternatively, simply double click on the `setupDSN.reg` file.\n\n### Validate setup\n#### 64-bit\nRun `reg query \"HKEY_LOCAL_MACHINE\\SOFTWARE\\ODBC\\ODBCINST.INI\\ODBC Drivers\"` to verify that `MongoDB Atlas SQL ODBC Driver` has been installed successfully.\n\nThere should be a new entry called `ADF_TEST` under `ODBC/ODBC.INI` with the following subentries:\n\n\t\n\tdatabase: \u003cdatabase name\u003e\n\tpwd: \u003cpassword\u003e\n\tserver: \u003cserver\u003e\n\tuser: \u003cuser\u003e\n\t\n\nRun `reg query \"HKEY_LOCAL_MACHINE\\SOFTWARE\\ODBC\\ODBCINST.INI\\MongoDB Atlas SQL ODBC Driver\"` to determine if the registry editor was updated successfully. There should also be a new entry called `ADF_ODBC` under `ODBC/ODBCINST.INI` with the following subentries:\n\n\t\n    Driver: \u003cpath to dll\u003e\n    Setup: \u003cpath to dll\u003e\n\t\n\n\nOpen the Microsoft ODBC Administrator (64-bit) and verify that \"MongoDB Atlas SQL ODBC Driver\" appears under \"System DSN\".\n\n## Unsupported Functions\n\nThe driver is a Unicode only driver and does not support ANSI functions.  \nAdditionally, the following ODBC functions are currently not supported by the driver. \n\n| Function             |\n|----------------------|\n| SQLBindParameter     |\n| SQLBrowseConnectW    |\n| SQLBulkOperations    |\n| SQLCancelHandle      |\n| SQLColumnPrivilegesW |\n| SQLCompleteAsync     |\n| SQLConnectW          |\n| SQLCopyDesc          |\n| SQLDescribeParam     |\n| SQLEndTran           |\n| SQLGetCursorNameW    |\n| SQLGetDescFieldW     |\n| SQLGetDescRecW       |\n| SQLNativeSqlW        |\n| SQLNumParams         |\n| SQLParamData         |\n| SQLPrepareW          |\n| SQLProcedureColumnsW |\n| SQLProceduresW       |\n| SQLPutData           |\n| SQLSetCursorNameW    |\n| SQLSetDescFieldW     |\n| SQLSetDescRec        |\n| SQLSetPos            |\n| SQLSpecialColumnsW   |\n| SQLStatisticsW       |\n| SQLTablePrivilegesW  |","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmongo-odbc-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Fmongo-odbc-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Fmongo-odbc-driver/lists"}