Hey I am having a problem to open my old wallet geting an error :
[2024-10-19 17:01:48.460855] [0x000069e8] [error] Database error 26 at ../src/walletdb.cpp:129 in "PRAGMA journal_mode = PERSIST;" --> file is not a database
The possibilities I can see are a configuration issue, or you're not using the correct wallet file, or the wallet file is corrupted.
I suggest download the sqlite tools from
https://www.sqlite.org/download.html . Then extract the files and make sure you can run the program sqlite3.
Next, run ccwallet from the command line like this:
ccwallet.exe --conf=ccwallet.conf --trace=4
ccwallet will output some debugging info to the terminal. The second line should be "DbConn::OpenDbFile" with the full path of the wallet file.
Now try opening that same file using sqlite3, like this:
sqlite3 <full_path_to_wallet_file>
and if it opens, check the schema using the command:
.schema
and then try the command:
pragma integrity_check;
What do you see?