正常使用的mysql,某天连接时突然出现:
Your password has expired.To log in you must change it using a client that supports expired password
不管是客户端,还是程序代码都报告此错。
解决方法:
打开命令行,执行
#mysql -uroot -p --port=33999
Enter password: 输入密码。即可进入,然后重置密码
#set password=password('password');
如此。就正常了。