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 trialAndrew Norris
4,857 Pointssqlite3 .open command
In the workspace for PHP & Databases with PDO Introduction that I am using sqlite3 has no .open command. Hamilton Paulk has it available. Where is it for me?
1 Answer
Angela Wisdom
4,238 PointsThe notes indicate that .open isn't actually implemented in workspaces. Instead, we can attach the database file at the same time we start SQLite by typing this from the console:
sqlite3 database.db
Hope that helps!
Andrew Norris
4,857 PointsAndrew Norris
4,857 PointsThat did the trick! Thank you very much.