Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP PHP & Databases with PDO Getting Started With PDO Introductions

Why is there not a '.open' listed in sqlite3 like he shows in the video?

This is the first tutorial and, even though it shows on the video that he uses .open, the command does not work in sqlite3 in the terminal. It reads that there is no such command and to check .help. I did, and there is not a .open.

3 Answers

Dave McFarland
STAFF
Dave McFarland
Treehouse Teacher

Sorry for the error Donnie Reese

The version of SQLite in Workspaces isn't the same as in the video. You need to load the database when you open sqlite. To do that type:

sqlite3 database.db

I had the same problem and that worked for me!

Jerry Schrader
Jerry Schrader
4,396 Points

That doesn't work for me, just gives me a new line with ...>

Jerry Schrader
Jerry Schrader
4,396 Points

That doesn't work for me, just gives me a new line with ...>