Rocket.Chat icon indicating copy to clipboard operation
Rocket.Chat copied to clipboard

Does rocket chat has a DBA account of mongo db?

Open kyle-kai opened this issue 9 years ago • 5 comments

  • I am now learning how to use rocket chat, and when I type "meteor npm start", I find rocket chat use a local mongo db on my server, so I have two questions:

  • The first question is that the rocket chat connect to mongo db use a account with username and password? And how and where can I change the password?

  • If I want to let rocket chat connect to another mongo db on the other server, which configuration file should I modify?

kyle-kai avatar Oct 27 '17 03:10 kyle-kai

The first question is that the rocket chat connect to mongo db use a account with username and password? And how and where can I change the password?

When starting it this way it's usually for testing purposes only, so it does not have a username or password.

If I want to let rocket chat connect to another mongo db on the other server, which configuration file should I modify?

It depends on the deployment method, but for most of them you need to set the MONGO_URL environment variable. The format is like this:

MONGO_URL=[username]:[password]@mongo:27017/rocketchat

JSzaszvari avatar Oct 27 '17 09:10 JSzaszvari

I've used mongobooster to access at rocketchat db without user and password

exagon avatar Oct 27 '17 14:10 exagon

@MartinSchoeler This is a support question, not a bug.

antgel avatar Oct 27 '17 19:10 antgel

So if I want to start with the "meteor npm start" commond, and I want to connect mongo db with account verify, what shuold I do?

kyle-kai avatar Oct 30 '17 02:10 kyle-kai

We aim to keep our Github issues for bugs and feature requests. This does not fit that criteria. Please see our guidelines for support. If you feel like we are closing in error, please re-open and add additional details about the bug or feature request

MartinSchoeler avatar Oct 30 '17 13:10 MartinSchoeler