权限问题,授权 给 root  所有sql 权限

   grant all privileges on *.* to root@"%" identified by "你的密码";

   flush privileges;

方法二:
通过登录mysql系统,
# mysql -uroot -p
Enter password: 【输入原来的密码】
mysql>use mysql;
mysql> update user set password=passworD("test") where user='root';
mysql> flush privileges;
mysql> exit;   

相关文章:

  • 2021-12-04
  • 2021-09-07
  • 2021-12-16
  • 2021-12-26
  • 2022-12-23
  • 2021-11-21
  • 2021-11-21
  • 2021-09-23
猜你喜欢
  • 2022-12-23
  • 2021-11-20
  • 2021-07-28
  • 2021-12-04
  • 2021-12-14
  • 2021-05-05
相关资源
相似解决方案