libredb / libredb/libredb-studio

[BUG] Cannot Connect to AWS DocumentDB (MongoDB)

Open
#842 2 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
TypeScript
Stars
726
Forks
119
Avg merge
7h 47m
Merged PRs (30d)
265

Description

## Description
I cannot login to AWS DocumentDB, as the URI string contains symbols and escaping them does not work.

It also forces me to specify a database, when MongoDB can have many databases in the same way PostgreSQL and Oracle DB have schemas.

## Steps to Reproduce
Try to add a MongoDB connection to AWS DocumentDB

## Expected Behavior
Make the database field optional, and list the databases on the left hand side.

## Actual Behavior
I cannot connect due to these inconveniences.

## Environment
Please provide the following information:

- **LibreDB Studio Version**: 0.15.0
- **Browser**: Chrome
- **OS**: macOS
- **Node.js/Bun Version**: Why are you asking me? This is your Docker image.
- **Database Type**: AWS DocumentDB
- **Database Version**: Unknown

## Possible Solution
Actually test your DB drivers with AWS DocumentDB and MongoDB in general...

Contributor guide

Open the contributing guide

Research direction

Start by reproducing an AWS DocumentDB connection with symbols in the URI and without a database name, then trace the MongoDB connection flow. Done means credentials and escaped URI symbols work, the database field is optional, and available databases appear on the left.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, mongodb, typescript
Domain
cloud, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.