[SOLVED] New v1.8.1 rejecting .emb database password
Moderator: Renato
-
- New User
- Posts: 1
- Joined: Sat Nov 30, 2024 6:43 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Same as hxigor here
- Renato
- MVP User
- Posts: 881
- Joined: Mon Apr 25, 2011 7:36 pm
- Are you a spam bot?: No
- Location: near Zurich
Re: New v1.8.1 rejecting .emb database password
I would suggest that users revert to version 1.8 or not use encryption until the bug is fixed.
Renato Forum Administrator (I'm not a developer)
-
- Developer
- Posts: 658
- Joined: Wed Dec 21, 2011 5:58 am
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Thanks @hxigor and also the guy from the Github, we know it is page_size that triggers the issue now.
for some very old databases (e.g. before 2014), the page_size is 1024, while newer ones are 4096.
you can run PRAGMA page_size in wxSQLitePlus or any SQLite clients to tell the result.
for some very old databases (e.g. before 2014), the page_size is 1024, while newer ones are 4096.
you can run PRAGMA page_size in wxSQLitePlus or any SQLite clients to tell the result.
- 4096, it will be fine to re-encryption
- 1024, you might have to update page size to 4096 via next reply
-
- Developer
- Posts: 658
- Joined: Wed Dec 21, 2011 5:58 am
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
here is the instruction to update the legacy page size (1024) to the default page size (4096).
run the following code to update page size in place
run the following code to update page size in place
Code: Select all
PRAGMA page_size = 4096;
VACUUM;
-
- New User
- Posts: 5
- Joined: Mon Apr 12, 2021 7:35 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
@guanlisheng
Thanks for the analysis and fix, changing the page size to 4096 worked!
Thanks for the analysis and fix, changing the page size to 4096 worked!
-
- New User
- Posts: 3
- Joined: Thu Feb 02, 2023 6:16 pm
- Are you a spam bot?: No
Re: New v1.8.1 rejecting .emb database password
Could you explain in detail the steps to take?
Thank you
Thank you
- Renato
- MVP User
- Posts: 881
- Joined: Mon Apr 25, 2011 7:36 pm
- Are you a spam bot?: No
- Location: near Zurich
Re: New v1.8.1 rejecting .emb database password
Renato Forum Administrator (I'm not a developer)
Who is online
Users browsing this forum: Claude [Bot] and 0 guests