New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default_password_lifetime to 0 (Never Expire) #60

merged 1 commit into from Nov 14, 2015


None yet
2 participants

konomae commented Nov 14, 2015

default_password_lifetime is 360 since MySQL 5.7.4

It will stop apps using MySQL 360 days later.

vagrant@homestead:~$ mysql -u homestead -p

mysql> UPDATE mysql.user SET password_last_changed = '2014-11-13 00:00:00' WHERE user = 'homestead'; 
Query OK, 2 rows affected (0.00 sec)
Rows matched: 2  Changed: 2  Warnings: 0

Query OK, 0 rows affected (0.01 sec)

mysql> ^DBye

vagrant@homestead:~$ mysql -u homestead -p

ERROR 1820 (HY000): You must reset your password using ALTER USER statement before executing this statement.

taylorotwell added a commit that referenced this pull request Nov 14, 2015

Merge pull request #60 from konomae/patch-1
Set default_password_lifetime to 0 (Never Expire)

@taylorotwell taylorotwell merged commit 4451cd3 into laravel:master Nov 14, 2015

@konomae konomae deleted the konomae:patch-1 branch Nov 14, 2015

@w0rd-driven w0rd-driven referenced this pull request Dec 6, 2016


Expired password #373

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment