链接mysql报错
Your password has expired. To log in you must change it using a client that supports expired passwords;
1、打开mysql链接工具 LINUV bin目录 windows 打开mysql client
2、进入mysql命令框 输入旧密码
3、执行 mysql> set password=password('123456');
123456为新密码
Query OK, 0 rows affected, 1 warning (0.01 sec)
4、刷新权限目录
mysql> flush privileges;
flush privileges;