osu!.db is located inside your osu! folder. There is a button in the options menu to open it. You'll probably want to enable file extensions so you can find it easier.
If you don't want to use that, the default installation path is "C:\Users\<Username>\AppData\Local\osu!"