liuwanqiu

问题描述:

  Your password has expired. To log in you must change it using a client that supports expired passwords.

原因描述:

  mysql密码过期了,需要重新设置密码

解决方法:

  对于window安装的wampserver来说,它集成了mysql,php,apache,所以需要找到wampserver安装目录下的mysql文件夹,进入mysql的bin目录后,输入

  mysql -hlocalhost -uroot -p

  来链接数据库,

  然后输入

   SET PASSWORD = PASSWORD(\'新密码\');

  进行新密码的设置即可

如此,便可以通过数据库管理软件进行数据库连接了。

分类:

技术点:

相关文章:

  • 2021-09-30
  • 2021-10-16
  • 2021-12-23
  • 2021-09-27
  • 2021-09-30
  • 2021-08-19
  • 2021-11-20
猜你喜欢
  • 2021-09-30
  • 2021-09-30
  • 2021-09-30
  • 2021-07-23
  • 2021-09-30
  • 2021-09-30
  • 2021-09-30
相关资源
相似解决方案