#MongoDB connection issues

11 messages · Page 1 of 1 (latest)

shadow chasm
#

So when ever i try to connect to my database, i get this error. It worked before with my local database. But wanna have it on railway. I just straigt copied the url from the railway dashboard.

karmic robinBOT
#

Project ID: N/A

honest imp
#

I assume you may have changed the database name?

shadow chasm
#
MONGO_URL="mongodb://<user>:<pass>@<host>:<port>/test"
honest imp
#

have you changed anything service variables wise?

shadow chasm
honest imp
#

is this mongoose?

shadow chasm
honest imp
#

you need to specify the database name in the options object

shadow chasm