Database choice for personal projects

As title says, I've been wondering which database solution would be most practical for small/smallish personal projects? In my case they would be something like football scores/discgolf scores and stuff like that.

Clients will be written in C/C++ mostly.

Posted Jan 15, 2015, 11:14 AM UTC

412
nutrecht•

MySQL is a pretty popular open source SQL database that's very widely used. It has libraries to be used from C/C++ and tons of examples. When it comes to stuff like statistics most databases have tons of functions built in to let you select the results within a date range and calculate averages, sums, etc. in that range.

2
Franko_ricardo•

Postgres or mariadb are good choices as well

1
[deleted]•

[deleted]

-6
nevus_bock•

Is it indexed? Can it do analytics? Those are some of the reasons one would use a DB

edit: @ u/_MuchToLearn : you know, it's really not cool to completely edit your comments so that it makes replies to them seem nonsensical. If you get a downvote and you remove your comment for it, that seems almost childish.

2
[deleted]•

[deleted]

1
nevus_bock•

But how do you know? OP hasn't said anything about the size etc.

2
[deleted]•

[deleted]

1
nutrecht•

Now add another client and have two clients do concurrent updates. You're in for a world of pain when you can't use atomic transactions.

2
[deleted]•

[deleted]

1
nutrecht•

Who ever needs more than 640kb of RAM?

2
[deleted]•

[deleted]

1
nutrecht•

Very mature removing all your other replies.

2
[deleted]•

[deleted]

1
masterbeerOP•

Expected that answer :D and yes, you are propably right. Just wanted to ask opinions. Also this way I have to code my own search functions etc, so a good learning opportunity also.

1