Wikipedia has a decent article with history:
https://en.wikipedia.org/wiki/Database
Before relational database systems we had a lot of proprietary setups based on disk files. There were the variants of the hashing-based Pick database. There was CODASYL, and IBM’s IMS. Relational databases pretty much replaced all of those, though Pick-style systems are still running here and there.