Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Where is the html5 local database located on a client machine?

Tags:

html

Am playing around with html5 local storage on different browsers (Firefox, Opera, Safari & Chrome) and am just wondering where is the location for the local database that i create using "opendatabase".

Can i change the location of this database?

Gath

like image 387
gath Avatar asked May 21 '10 06:05

gath


1 Answers

It will be stored in the user's profile directory somewhere, but the exact location would be different for each browser on each platform (e.g. Firefox vs. Chrome vs. Safari, etc and Windows vs. Linux vs. Mac OS X, etc).

Is there any reason in particular that you want to know, or just curiosity? For example, I believe Firefox stores it in:

C:\Users\<user>\AppData\Roaming\Mozilla\Firefox\Profiles\<profile-name>\webappsstore.sqlite
like image 70
Dean Harding Avatar answered Nov 15 '22 06:11

Dean Harding