Search code examples
google-chromeindexeddbweb-sql

Delete databases (IndexedDB, WebSQL) for file:// schema in Chrome


I've got dozens of databases created running code under file:// schema in Chrome. How can I remove them?

The usual place Settings - Cookies and sites doesn't list them :-(


Solution

  • You can delete the Indexeddb database with javascript command. For instance to delete an indexeddb named dbtest type in the chrome console:

    indexedDB.deleteDatabase('_pouch_dbtest')
    

    You can check on the ressource tab of the dev tools if it worked with the Refresh Indexeddb option:

    enter image description here

    For WebSQL, I think it's not that simple (see that SO question)