• 周六. 10 月 12th, 2024

5G编程聚合网

5G时代下一个聚合的编程学习网

热门标签

MySQL password expiration settings sqlyog login password expired

King Wang

1 月 3, 2022

MySQL5.7 modify root After account password , Use SqlYog When logging in, the password has expired :
 Insert picture description here
You need to set it so that the password will never expire :

  1. Log in mysql

mysql -uroot -p
Enter password: *******

  1. Change Password ( This must be carried out , Otherwise, there’s something wrong with the third tip )

set password= password(‘root’);

  1. Settings never expire

alter user ‘root’@‘localhost’ password expire never;

发表回复