Prisma: MongoDB error: An error occurred during DNS resolution: request timed out #19673
-
I created my models in prisma/schema.prisma and I'm trying to push them to my MongoDB using npx prisma db push, however, its always returns this error: |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 8 replies
-
Hi @soorajlegend 👋 This looks like a problem with your connection to your MongoDB database. How are you running MongoDB? Can you connect to this instance with other tools? |
Beta Was this translation helpful? Give feedback.
-
please can someone help ,i have the same error |
Beta Was this translation helpful? Give feedback.
Hello Sir, Finally the problem was from my Windows operating system and I just shut down the system at night and on in in the morning to continue debugging, fortunately, the command just worked. Thank you so much for your support.