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

Development Tools Database Foundations Installing MySQL Server and MySQL Workbench Installing MySQL Server and Workbench on OS X

Bryan Mullen
Bryan Mullen
14,468 Points

Temporary Password Nightmare

I downloaded MySQL from the website, installing the latest version. During the install MySQL seems to have set a temporary password which i copied to my clipboard to paste later, but inadvertently copied another line of code before pasting the password. Now I am stuck without the password for the MySQL server. I have tried every combination of uninstalling, reinstalling, installing older versions, and attempting to reset the password using the terminal, but I'm not nearly proficient enough using the terminal to do this, and keep getting "Command not found".

Can anyone please help me with instructions on resetting this password, I've tried following all of the instructions such as the ones in this video, but no luck whatsoever! https://www.youtube.com/watch?v=90TGTG_4CQ0

1 Answer

Jason Anders
MOD
Jason Anders
Treehouse Moderator 145,858 Points

Hey Bryan,

If you Google "uninstalling mysql mac" there are a couple very long instructional links on how to completely remove mysql. One from Jaspersoft Community and one from Stack Overflow that look like they could help.

I've never tried any of these, so I cannot say what will happen.

Good Luck. :dizzy:

Bryan Mullen
Bryan Mullen
14,468 Points

Hey Jason, I already tried an uninstall and reinstall of an older version (5.6.10) and was still locked out but decided to try again using your instructions just to be sure. I followed the Jaspersoft uninstall instructions, restarted the computer (don't think I restarted the previous time) and then reinstalled 5.6.10 and now everything appears to be working perfectly! Thanks!