I'm working in a project which involves using IndexedDB. As I'm begining to know this technology, I need to be able to delete an indexedDB by hand so I can start over.
I found the way to do it in Firefox, but I can't find the way for Google Chrome.
I tried deleting the content of this folder (I'm using Mac):
{home}/Library/Application Support/Google/Chrome/Default/IndexedDB
but it seems Chrome stil have the DB anywhere so I can't start over.
Delete an IndexedDB databaseView the IndexedDB database that you want to delete. Click Delete database.
Of course one quick way to do it is to go to Safari's Preferences > Privacy > Manage Website Data..., find the website you want to delete IndexedDB storage for and delete. Unfortunately this will also remove any local storage and cookies, not always what you want when programming.
The user deletes it. For example, in Chrome if the user clears "cookies and site data", all IndexedDB databases will be removed. The browser deletes it. Technically, the browser is allowed to delete any IndexedDB database at any time.
I've had success running the following in Chrome:
indexedDB.deleteDatabase('DB NAME')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With