BigDaddyO Posted October 5, 2020 Share Posted October 5, 2020 Hello, I'm being asked to write up some testing for an application that uses MongoDB which is a Non-relational database. I've never used this type of database before and I can't seem to find anything on this site. Do I connect the same way as I would for a normal SQL database? I've used SQL, Sybase, and Oracle without problems in the past. If I was able to actually connect ("I've requested the drivers, should have them in a couple days") how would I perform the NoSQL Queries? The online stuff I've looked at uses an interface, would I just use those statements in place of where I would normally do sql queries? Thanks, Mike Link to comment Share on other sites More sharing options...
GMK Posted October 12, 2020 Share Posted October 12, 2020 I don't have any experience with that type of database, but have you tried the MongoDB ODBC Driver? Link to comment Share on other sites More sharing options...
BigDaddyO Posted October 12, 2020 Author Share Posted October 12, 2020 uhhh.. no i did not. Thanks! i'll check it out. I've been trying to figure out Python as most samples are in that. I - Don't - Like - Python... Link to comment Share on other sites More sharing options...
water Posted October 12, 2020 Share Posted October 12, 2020 (edited) Never used MongoDB but I think the manual would be a good place to start reading. Edited October 12, 2020 by water My UDFs and Tutorials: Spoiler UDFs: Active Directory (NEW 2024-07-28 - Version 1.6.3.0) - Download - General Help & Support - Example Scripts - Wiki ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki Task Scheduler (2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs: Excel - Example Scripts - Wiki Word - Wiki Tutorials: ADO - Wiki WebDriver - Wiki Link to comment Share on other sites More sharing options...
Skysnake Posted October 27, 2020 Share Posted October 27, 2020 Hi Have you considered trying @mLipok's awesome ADO.UDF to attempt this connection? Skysnake Why is the snake in the sky? Link to comment Share on other sites More sharing options...
BigDaddyO Posted October 27, 2020 Author Share Posted October 27, 2020 no, sadly I've found out that all the (normal) ways to connect to this database only works if a BI Connector is enabled, which it's not for the db i'm trying to connect to. So, I need to generate a cert and connect in with a Kerberos ticket to be able to connect to the db I need and they expire after 1 day. I'm waiting on a co-worker who knows a bit about python as there are examples to do all that with Python. Link to comment Share on other sites More sharing options...
Nine Posted October 27, 2020 Share Posted October 27, 2020 I would personally first try to use the query tool to interact with the DB (like SQL*Plus for Oracle). It is quite simple to script it with AutoIt. Will save you quite some time if that approach would work (even tho it is not the greatest way to automate a DB connection). BigDaddyO 1 “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Screen Scraping Multi-Threading Made Easy Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now