xbblogs

方法一:

   mysqladmin -u root -p password "test123"
   Enter password: 【输入原来的密码】

方法二:

  mysql -uroot -p
  Enter password: 【输入原来的密码】
  mysql>use mysql;
  mysql> update user set password=passworD("test") where user=\'root\';
  mysql> flush privileges;  #刷新后即可生效
  mysql> exit;

 

分类:

技术点:

相关文章:

  • 2021-11-21
  • 2021-10-02
  • 2021-09-27
  • 2021-09-27
  • 2022-12-23
  • 2021-06-17
猜你喜欢
  • 2021-11-21
  • 2021-09-23
  • 2021-11-15
  • 2022-12-23
  • 2021-12-16
  • 2021-11-21
相关资源
相似解决方案