MongoDB problem/error [RESOLVED]

Status
This thread has been locked.

ExtendP

Banned
Feedback score
0
Posts
16
Reactions
2
Resources
0
Hey there, so recently I've been trying to connect MongoDB to a practice plugin I've been using and testing out.

Everything is great, however when I try to connect it to MongoDB (which is a requirement in order to enable the ranked feature), everything fucks up.

The plugin I'm talking about is a fork of UnknownMyName's uPractice.

When I connect it to MongoDB and look in the console (before I join the server!) no errors show up and it says that the database is connected, however when I connect (or someone else) a shit ton of errors show up, and the practice plugin disabled.

The main error that I think seems to cause it is this one:

[Server] INFO Caused by: com.mongodb.MongoQueryException: Query failed with error code 13 and error message 'not authorized for query on practice.profiles' on server mongodb.pebblehost.com:27017

Incase you think I fucked up the connection: I've tried multiple websites, and the most recent one I let my host make, and connect one for me.

I'm willing to pay the person who thinks he can fix this.
 
PebbleHost
High performance, consistent uptime and fast support. Minecraft hosting that just works.

ExtendP

Banned
Feedback score
0
Posts
16
Reactions
2
Resources
0
Banned forever. Reason: Ban Evading (Thrintios, https://builtbybit.com/members/thrintios.65697/)

thread

dev
Premium
Feedback score
18
Posts
152
Reactions
96
Resources
1
Make sure your auth database is the one your host provided you with. It may not be the practice database. The auth database usually is called admin.
 

Nykorrin

i-
Premium
Feedback score
6
Posts
812
Reactions
299
Resources
0
Pebblehost gay.

they have to give the database perms to read and write data.

i think?
 

ExtendP

Banned
Feedback score
0
Posts
16
Reactions
2
Resources
0
Pebblehost gay.

they have to give the database perms to read and write data.

i think?

I tried multiple websites and none worked, so its not just them I guess.[DOUBLEPOST=1569665809][/DOUBLEPOST]Problem has been resolved thanks to Dori, amazing chill guy who takes the time for you. Recommened dealing with!
 
Last edited:
Banned forever. Reason: Ban Evading (Thrintios, https://builtbybit.com/members/thrintios.65697/)
Status
This thread has been locked.
Top