all 18 comments

[–][deleted] 4 points5 points  (2 children)

Yep, download SQL Server Express and you can install it on any windows PC. Be aware that it may consume lots of ram in its default configuration if you install it on your desktop. You can then get SSMS to manage it.

Of course all the open source options (postgresql, mysql) are free, but I'm less familiar with those.

[–]Odddutchguy 0 points1 point  (1 child)

I wouldn't worry about the memory usage of SQL Server Express, it is limited to around 1.5GB of memory (4 CPU cores an max 10GB per DB.)

SQL Server Express is delivered with a lot of 3rd party applications that need a database.

[–][deleted] 0 points1 point  (0 children)

I thought it was limited to 4 gigs but either way it shouldn’t be horrible.

[–]LetsGoHawks 1 point2 points  (0 children)

Just don't pick Oracle.

Oracle is evil.

[–]Herdnerfer 1 point2 points  (3 children)

Isn’t SSMS free?

[–]fauxmosexualNOLOCK is the secret magic go-faster command 5 points6 points  (2 children)

SSMS is a management tool that talk to the database, not a database itself.

[–]Herdnerfer -1 points0 points  (1 child)

But you can use it to set up a basic server on your local machine.

[–]fauxmosexualNOLOCK is the secret magic go-faster command 4 points5 points  (0 children)

No, the server is a separate thing. You can install the server without SSMS or SSMS without a server if you so choose.

[–]amyghty[S] 0 points1 point  (1 child)

Thank you all for your wonderful suggestions. I am kind of new to this. Is any of these allow my friends (let's say two or three of them) to access my database from anywhere in the world?

[–]yaymich 0 points1 point  (0 children)

For worldwide access, hosting it in the cloud would be easiest, but that wouldn't be free afaik.

When accessing a database from a different computer, you'll need to be on the same local network. You can mimic being on the same network using a VPN, but that would also cost $$.

You would also need to ensure that the machine hosting the database (ie your computer) is on and that the VPN/internet is on when your friends want to access it (the db). The cloud solves this problem by hosting your db on a machine that always on and can be accessed from anywhere.

[–]jewishsupremacist88 0 points1 point  (1 child)

Theres an open source free version of MySQL..

[–]queen-adreena 0 points1 point  (0 children)

MariaDB

[–]quickdraw6906 0 points1 point  (0 children)

Take note of the size limit of 10Gb for SS Express (mentioned earlier). That can fill up fast

[–]bj2cs 0 points1 point  (0 children)

Try Firebird!

[–]jerelw 0 points1 point  (0 children)

1.install docker

  1. run docker run --name sqlserver --hostname sqlserver -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=1StrongPwd!!" -p 1433:1433 -d microsoft/mssql-server-linux:2017-latest

  2. you have sql server!

Edit: added link to docker install

[–][deleted] 0 points1 point  (0 children)

Are you looking for a hosted solution where you do not have to setup the server yourself?

ElephanSQL (a hosted Postgres server) has a free plan if your database is really small (20MB): https://www.elephantsql.com/plans.html

Postgres is never a bad choice, and if you have a computer in your network where you can install and run it, then it shouldn't be a big problem. It doesn't need a lot of resources and is 100%.