Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In latest browser websql is deprecated, can't able to create a database #1017

Open
DK-06 opened this issue Nov 16, 2023 · 4 comments
Open

In latest browser websql is deprecated, can't able to create a database #1017

DK-06 opened this issue Nov 16, 2023 · 4 comments

Comments

@DK-06
Copy link

DK-06 commented Nov 16, 2023

In latest browser websql is deprecated and no longer available in all the browsers like chrome/edge/Firefox, I can't able to create a database. It's getting an error.

So, what's the alternative solution to use the sqlite db.

@asa47
Copy link

asa47 commented Nov 20, 2023

Hello, open the following link in chrome chrome://flags/#web-sql-access and enable "Allows access to WebSQL APIs".
In theory it should only affect the device running the websql in the browser.

@DK-06
Copy link
Author

DK-06 commented Nov 27, 2023

Hello asa47, Thanks for your response.

The solution which you provided is worked. After enabling we can able to access websql.

Have one more question, How long this solution will work. In future release from chrome, we may not use this solution right. Any time period we have?

@etiennenoel
Copy link

WebSQL has been deprecated and this flag has been removed.

@mirko77
Copy link

mirko77 commented May 25, 2024

The only option left is the Brave browser by installing a version that supports WebSQL and launching it via the command line with a flag that disables the automatic updates.

Details brave/brave-browser#5576

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants