遇到错误:
1 | ERROR 1862 (HY000): Your password has expired. To log in you must |
原因是:
1 | MySQL 5.6 introduces password-expiration capability, to enable database administrators to expire account passwords and require users to reset their password. |
所以只需重新修改下密码即可,修改方式如下:
1 | 以root权限登录mysql:(这里我的账户是root,密码也是root) |
OK,可以正常使用了。