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 trialAlfredo Prince
6,175 PointsCannot connect to the database?
For some reason it's not connecting to the database and I haven't modified my connection. What's up?
Simon Coates
28,694 PointsSimon Coates
28,694 Pointsyou may want to provide more context. It's going to be difficult for someone to debug without having to rewatch the videos and then guess what the problem is. i think you can also snapshot your workspace so people can take a look. (you may need to resubmit, as i'm not sure questions that are a couple pages down the forum get answered.). The download zip that goes with the video (or in some courses, the next video), will include the db connection file. I think the db for that course is sqllite3 (?), in which connection should be a matter of including the file that attempts the connection (you can compare with the file included in downloads), and having the files at the correct locations in the directory structure.