Reseting the mysql password on a Homestead box

Posted 1 year ago by Leff7

I have 2 boxes on my virtual machine, one with php v.7 and the other with php v.5.6. I have installed the latter one, just recently and I have updated to macOS High Sierra. Today I realised that I can't access anymore sites that I have locally, I get the error:

Your password has expired. To log in you must change it using a client that supports expired passwords.

I went to reset the password on vagrant machine again by running this command, and then was prompted to reset password, which I have just set up to the old one that I already had:

mysqladmin -u root -p password
Enter password: 
New password: 
Confirm new password:

I have then run vagrant halt and vagrant up, but nothing has changed, I have still got the same error as previously.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up


Reply to

Use Markdown with GitHub-flavored code blocks.