I'm looking for a tutorial or an example for creating my own database. It would be a very simple database with first only one table for storing a musiclibrary.
You will probably want to start by looking up databases that already are out there and find any info on how they work. Databases need to be fast and accessible while handling large tables of data. In any case, I doubt you will find a tutorial for building one, but maybe this will give you some insight into what you need to do so: http://en.wikipedia.org/wiki/Database