Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Ronaldo Fialho
5,105 Pointsunkown command or invalid argument open
treehouse:~/workspace$ sqlite3
SQLite version 3.7.17 2013-05-20 00:56:22
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .databases
seq name file
0 main
sqlite> .open database.db
Error: unknown command or invalid arguments: "open". Enter ".help" for help
sqlite> .tables
sqlite>
Why this is happening?? Any help plz!
1 Answer

Umesh Ravji
42,361 PointsHi Ronaldo, there's a correction in the teachers notes regarding how to open the database.
Type
sqlite3 database.db
to open SQLite and the database that is discussed in this video. The .open command is not available in the version of SQLite available in Workspaces.