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 trialRowan Sims
4,898 Points"Error establishing a database connection"
Once I've uploaded everything and created the database, etc, I go to the URL and get the above message. Any ideas what I may have missed or done wrong?
2 Answers
Rowan Sims
4,898 PointsGot it sorted. I just deleted the database, created a new one and re-uploaded the sql file and that seems to have fixed it. Not sure why, but problem solved.
Hugo Paz
15,622 PointsHi Rowan,
Can you open your config file and check if its correct?
Rowan Sims
4,898 PointsHi Hugo,
Yes config file is correct as far as I can tell. I've coded it all as described in the video.
Rowan