Default prompt user to save database on exit if changes exist. This is standard functionality in all apps and I have lost many password entries due to the application's default behavior not be to ask to save on exit.
KeePass 1.x and 2.x already has this feature. However, if you have checked the option Automatically save when closing/locking the database in Tools>Options..>Advanced(tab)>Start and Exit(section) the save is automatic and you won't be prompted.
**Notes: **
If the database does not have any unsaved changes it is not necessary to save the database when it is closed or when KeePass exits.
If there is no database open on exit, there is nothing to save.
If the above option is not checked and there are unsaved changes, KeePass will display a dialog with three choices. See the attached screenshot.
KeePass 1.x and 2.x already has this feature. However, if you have checked the option Automatically save when closing/locking the database in
Tools>Options..>Advanced(tab)>Start and Exit(section)the save is automatic and you won't be prompted.**Notes: **
Last edit: wellread1 2022-09-21
If you are losing data describe in detail the sequence of events leading to the data loss.