LARAVEL HOMESTEAD SQLSTATE [HY000] [1862] Your password has expired. To log in, you must change it using a client that supports expired passwords

I am stuck all day with an expired password for mysql. I also stuck to other similar questions, but keep getting the same error with an expired password. I uninstalled and reinstalled Mysql with homebrew. I restarted the mysql server. I uninstalled, changed and created homestead users in mysql and even uninstalled and then reinstalled enter image description hereHomestead and Tramp. None of them work. What should I do?

enter image description here

enter image description here

Change-Update:

I can do this in mysql using the following pro sequel:

enter image description here

but having this in the .env file reproduces an error with an expired password .:

enter image description here

enter image description here

+4
1

, , - .

  • vagrant ssh
  • mysql -u homestead -p
  • ()
  • SET password=PASSWORD("secret");

, , MySQL, , 5.6+ . . , - , .

: Homestead v2 : https://atlas.hashicorp.com/laravel/boxes/homestead/versions/0.3.3. - MySQL, , .

MySQL - 5.7.9, default_password_lifetime 360. password_last_changed 2015-11-13 03:50:18. 360 2016-11-07 03:50:18, , , , .

MySQL, . , 0 , ( ), , , .

+11

Source: https://habr.com/ru/post/1660213/


All Articles