You (and we) will need more information. You have the information in front of you, so it'll be easier for you to do this.
.db files could be from MSAccess, though if you're on a Linux system that would mean it probably wasn't an Access file.
Corel Paradox also saves .db files, as do many mobile devices. It could be an encrypted database file, in which case have fun.
You may try opening the file using any of the previously mentioned programs, preferably making a backup copy of the file first (obviously). You may also try opening the files with the SQLite Manager (http://www.sqlabs.com/sqlitemanager.php). I've used the SQLite for dealing with issues with iOS issues, but it's supposed to work with any sqlite databases.
you are probably better off looking at the program than the database files. any file type can use the .db extension, and the database format may even be custom. That said, attempting to load copies of the file with common DBMS's like sqllite or postgre may work for you. I'd start with SQLLite, as many people use .db extensions with it. if you have a sqllite executable in the program directory, that would be a dead giveaway. – Frank Thomas – 2015-06-01T14:21:59.853
@Frank yes, that's a smart thing to do. But is there a way to find this out with no database editors by using just some information like you said executables, installed programs and stuff like that? – Miki – 2015-06-01T14:28:38.890
I mean - to use database file you need to have DB server or something like? – Miki – 2015-06-01T14:29:25.870
not with SQLLite. its just a program, and usually ships with whatever program you are using, since its just a tiny executable. It loads the DB file at start, and then you can query it while the client program is running. Also you can look for libraries that indicate what DBMS is being used. in a windows program, if the exe had a lib right next to it called Oracle.DataAccess.dll, then I would know that its a ,net program that hits oracle. if you can find a connection string, you can generally find out what type of DBMS it is for, etc. – Frank Thomas – 2015-06-01T14:32:59.897
as for file decomposition, you would need to learn the format for the differant DBMSs. here is the format for the SQLLite db file: https://www.sqlite.org/fileformat.html
– Frank Thomas – 2015-06-01T14:34:20.163Possible duplicate of Manipulate unknown database file. Also see Is there a tool that can determine the file type from containing data?, How do I find out the file type without an extension? etc.
– Karan – 2015-06-02T09:28:22.557