+ 1
Can a '*.txt' file be a database?
5 Answers
+ 2
by the definition "A database is an organized collection of data"
yes, but practically unless you know what you're doing. it wont have much benefit than using available DBMS. but i guess its fine if you just want to practice file i/o, i did the same thing
+ 1
Wait a moment Taste, DBMS is 'Database management system' is a software to manage your data base but it's not a data base đ§đ€
+ 1
dbms have their own file to store the data/database. what make it better is they already implement everything that we need from a database. like read/write, multiple connection, authorization, etc.
but in the end they still store everything as a file, just like your txt (there are some exception)
+ 1
Yes you can use a .txt file as a database but you should make it a lot easier on yourself in the long run and learn mySQL in a couple of hours so you are doing it more along the lines of industry standards. It would suck if you accidentally deleted your entire txt file by not knowing what you are doing and writing over it.
0
Taste thanks!