First question, what do you want to do?
There is mysql (www.mysql.org), which is a full blown SQL server, command line only, but powerfull (IIRC ENWorld uses MySQL as the back end).
What Platform?
I tend to start off by looking at www.gnu.org and see if the program I am interested in is...