Home > database >  Unable to read database header in SQLITE3
Unable to read database header in SQLITE3

Time:05-03

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!

CodePudding user response:

Try .dbinfo (without an argument). The argument would be used to get the status information about any attached database(s).

CodePudding user response:

I turned the header ON and it works. I ran the command as ".header ON"

  • Related