create database issue

create database issue

BY 20 May 2013 Web Application Development

I want to create a new db use openDatabase and I get SecurityError like this:

http://i1344.photobucket.com/albums/p654/tattoowu/db-error-2_zps57b3ca19.png

so if any ideas,

Can I pause my web app running  when creating db ,and go on when user choose yes or no?

and how can I know user choose which one?

or can I settings “yes” as default (means I have the privilege  to create the db without notify user)?

Written by