I must be missing something:

$ sudo apt-get install sqlite3
...
Selecting previously deselected package sqlite3.
...
Setting up sqlite3 (3.3.8-1.1) ...
$ ls -l test.db
ls: test.db: No such file or directory
$ sqlite3 test.db
SQLite version 3.3.8
Enter ".help" for instructions
sqlite> create table foo (node_id, timestamp, tput);
SQL error: database is locked
sqlite> .databases
Error: database is locked
sqlite> .quit
$ ls -l test.db
-rw-r--r-- 1 srhea srhea 0 Mar  3 12:38 test.db

Searching the web for "database is locked" pulls up a lot of hits, but
none this simple.

What am I doing wrong?

Thanks in advance,
Sean
-- 
"Humanity has advanced, when it has advanced, not because it has been
sober, responsible, and cautious, but because it has been playful,
rebellious, and immature." -- Tom Robbins
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to