MongoDB connection not working
Error: MongoDB error
SCRAM failure: Authentication failed.
0: migration_core::state::SchemaPush
at migration-engine/core/src/state.rs:380
1 Reply
ConnectorError { user_facing_error: None, kind: AuthenticationFailed { user: "SCRAM failure: Authentication failed." } })
Not sure what is happening here but I cant seem to interact with my mongodb database
I am using Prisma as well FYI
Prisma works with this kind of URL, it is a bit different from the one I got from Railway:
mongodb+srv://user:password@database/database?retryWrites=true&w=majority
Since Railway has a port I cannot use mongodb+srv, and when using mongodb:// I get the errors above