MongoDB doesn't work as it should
Closed this issue ยท 3 comments
Hey, MongoDB works differently than other databases, and whenever I want to use a cluster with a URI it simply won't work. Would you please add URI support instead of just an address?
Hi,
I tripped over this too at first but lucko has correctly provided mongodb_connection_URI
which gets passed directly into the MongoDB driver.
However, I only discovered that after seeing this open issue and going through the code to see if I could create a PR for it ๐
@lucko I'd recommend adding a section to the documentation, or maybe even just improve the readme description above connection to clarify the uri option is there. As it is very easy to scroll past as surrounding config options are sql-specific.
edit: looks like it was broken on v4.x of LuckPerms, even though the URI config was present there already. Working fine on 5.0.130.
Add connection URI option for mariadb/mysql would be awesome, the console spams like crazy because luckperms is not using ssl or whatever
The SSL problem could be solved following This here