Is it possible to use MYSQL instead of Mongodb? #99
Replies: 4 comments
-
Why wouldn't it be? Just replace the MongoDB with SQL and if you use an ORM, use that. |
Beta Was this translation helpful? Give feedback.
-
@kinngh |
Beta Was this translation helpful? Give feedback.
-
@GWLdeveloperAjeetesh Swap out all instances of MongoDB models with MySQL models, add in your connection string, look into the code where all there's a model import and add in your queries / ORM and you're good to go. If you want to see a reference, take a look at the Next.js x Prisma ORM repo by searching for all instances of I'm under the assumption you know what you're doing, have worked with MySQL before and know what you're doing when it comes to Express and React. |
Beta Was this translation helpful? Give feedback.
-
Understood, thanks alot @kinngh |
Beta Was this translation helpful? Give feedback.
-
if it is possible then how can i do that?
Beta Was this translation helpful? Give feedback.
All reactions