'Unable to read database header in SQLITE3
I installed SQLITE3 on my Ubuntu VM running on WSL2 in Windows 11.
I created a sample database with one table and few records.
When I run the command .dbinfo ?DB?
I get the below error msg:
unable to read database header
Please advice on how to resolve the issue... Thanks!
Solution 1:[1]
I turned the header ON and it works. I ran the command as ".header ON
"
Solution 2:[2]
Try .dbinfo
(without an argument). The argument would be used to get the status information about any attached database(s).
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Rajiv Iyer |
Solution 2 | DinoCoderSaurus |