Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to delete indexedDB?

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.

like image 525
PaquitoSoft Avatar asked Feb 21 '12 19:02

PaquitoSoft


People also ask

Can I delete IndexedDB EDB?

Delete an IndexedDB databaseView the IndexedDB database that you want to delete. Click Delete database.

How do I remove IndexedDB from Safari?

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.

Is IndexedDB cleared when cache is cleared?

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.


1 Answers

I've had success running the following in Chrome:

indexedDB.deleteDatabase('DB NAME') 
like image 128
Judson Avatar answered Sep 29 '22 17:09

Judson