Hi friends, i'm tryign to connect to mongodb and i...
# orm-help
k
Hi friends, i'm tryign to connect to mongodb and im getting the following error:
Copy code
PrismaClientInitializationError: The provided database string is invalid. Unable to parse URL. in database URL. Please refer to the documentation in <https://www.prisma.io/docs/reference/database-reference/connection-urls> for constructing a correct connection string. In some cases, certain characters must be escaped. Please check the string for any illegal characters.
    at /home/kay/checkpoint/nft-rarify/core/node_modules/@prisma/client/runtime/index.js:45403:20 {
  clientVersion: '4.0.0',
  errorCode: 'P1013'
Copy code
DATABASE_URL="<mongodb+srv://root:rootpassword@localhost:27017/demo-db>"
any ideas why the database string is invalid?
1
once i removed +srv it worked
🙌 1