ver 1.70
i get this message a lot
Im trying to install NodeBB with the mongoDB database
INFO>
db.createUser( { user: "admin", pwd: "triangle", roles: [ { role: "readWriteAnyDatabase", db: "admin" }, { role: "userAdminAnyDatabase", db: "admin" } ] } )
mongoDB
HOST IP> my domain
HOST PORT> 27017
MongoDB username> admin
MongoDB password> triangle
MongoDB database name> nodebb
AND I GET THIS ERROR> There was an error connecting to your database. Please try again.
Whats wrong?
You may need to create the nodebb
database
Did you run the NodeBB installation routine? It creates this database for you.
I followed this guide:
What version of mongodb? Try downgrading to mongo 3.x