How to delete indexedDB?

google-chrome, indexeddb

Solution

In theory, all you need to do to delete an IndexedDB in Chrome is:

- In Chrome, go to Options > Under the Hood > Content Settings > All cookies and Site Data > find the domain where you created the IndexedDB

- Hit either the "X" or click "Indexed Database" > Remove

In Windows, the file is located here:

`%USERPROFILE%\AppData\Local\Google\Chrome\User Data\Default\IndexedDB`

On Mac, do the following:

- In Chrome, go to "Settings" (or "Preferences" under the Chrome menu)

- Click "show advanced settings" (at the bottom of the page)

- Go to "Privacy" > "Content Settings" > "All cookies and Site Data" > find the domain where you created the IndexedDB

- Hit either the "X" or click "Indexed Database" > Remove

On Mac, the folder is located here:

/Users/[USERNAME]/Library/Application Support/Google/Chrome/Default/IndexedDB/

On Linux, the folder is located at:

/home/[USERNAME]/.config/google-chrome/Default/IndexedDB/

Problem

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.

Original source