Next.js Discord

Discord Forum

Using Local SQL

Answered
Banjara Hound posted this in #help-forum
Open in Discord
Banjara HoundOP
hi. for my training project i want use my own sql. not 3rd party online sql. is that possible how?
Answered by Ray
sure its possible, just install a database on your machine and connect to it
View full answer

19 Replies

Banjara HoundOP
yes
sure its possible, just install a database on your machine and connect to it
Answer
you could also use sqlite without installing the database service
Banjara HoundOP
just want to know how. i have sql database on my own machine.
when i search about that it's redirect me to prisma.
i don't want use that.
mysql?
Banjara HoundOP
no Microsoft SQL.
install the mssql package and connect to your database
you could use any other drive too
Banjara HoundOP
ok thanks. and is there any orm for that, that i can use it without sql queries?
I think typeorm support mssql
Banjara HoundOP
so i can use typeorm without need of that mssql package, right?
you still need it, they use the mssql package under the hood
check the installation guide for typeorm
Banjara HoundOP
ok thanks for helping.
i don't have any question.
you're welcome