root密码修改:
mysql> use mysql;
mysql> UPDATE user SET Password = PASSWORD('newpass') WHERE user = 'root';
mysql> FLUSH PRIVILEGES;


问题:Access denied for user 'root'@'192.168.46.161' to database 'db3'
mysql> grant all on db3.* to 'root'@'%' identified by '123456' with grant option;
musql> FLUSH PRIVILEGES;;

相关文章:

  • 2021-12-04
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-12-04
  • 2021-07-28
猜你喜欢
  • 2021-06-29
  • 2021-12-16
相关资源
相似解决方案