How to enable HTML client-side SQL database in embedded webkit app (test app on github)
Local databases should be done with a javascript you run in the HTML, HTML5 Databases tutorial
You could also try using sqlLite in your app, or core data but I think you want to access it through your HTML?