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

Ruby Installing a Ruby Development Environment Installing a Ruby Development Environment Installing the Treehouse VM on Windows

Gareth McDonald
Gareth McDonald
15,198 Points

Access Denied for MySQL on Treehouse VM Ruby

I am getting "Access denied for user 'root'@'localhost' (using password: YES) Please provide the root password for your mysql installation" when I try to run rake db:create:all on a newly cloned git project. I am using a VM that I set up using the guide

2 Answers

Nick Fuller
Nick Fuller
9,027 Points

do you have a password set in your config/database.yml file for development?

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Hey Gareth McDonald which vm did you download? There should not be a default mysql password but I'll check in to it.