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

Virtual box - Ubuntu - Mysql server issue. How to change password?

Hey Everyone!
I've bought a new PC so I needed to set up my development build. When I tried to set up LAMP on Virutal Box Ubuntu 18.04, the Mysql code ran (sudo apt-get install mysql-server) but it did not ask for a new password. After it finished I ran a test but my usual password was incorrect... I've tried to reconfigure it, I also tried to delete it completely and reinstall but once again it didn't required a new password.
I cannot work until it's done. Any help is appreciated! Is there a waz I can check the recent pw?

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there! MySQL uses an empty string as the default root password. Once you've logged in that way, you can then set a new password. Hope this helps! :sparkles:

Thank you for your answer, I already solved the problem :) Unfortunately I've got another one. It's a never ending story :(