How to delete indexedDB?

PaquitoSoft picture PaquitoSoft · Feb 21, 2012 · Viewed 93.8k times · Source

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.

Answer

Judson picture Judson · Feb 23, 2013

I've had success running the following in Chrome:

indexedDB.deleteDatabase('DB NAME')