MongoDB connection issues
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.
9 Replies
Project ID:
N/A
I assume you may have changed the database name?
I have set it to "test" wich already exist in it
have you changed anything service variables wise?
I works now, by removing the "/test"
is this mongoose?
Yes
Solution
you need to specify the database name in the options object
Alright thanks brody 👌