度娘很久都未能解决,大多都是修改配置文件,或是执行如下SQL:

         update user set Password=password('111111') where `user`='root';

          我本地执行没有成功,而且还报了一个错误:ERROR 1348 (HY000): Column 'Password' is not updatable

         官网上解决办法则很直接而且也很有效

         GRANT ALL PRIVILEGES ON *.* TO 'YourUserName'@'%' IDENTIFIED BY "YourPassword";

           or

          GRANT ALL PRIVILEGES ON *.* TO 'YourUserName'@'YourIP' IDENTIFIED BY "YourPassword";

相关文章:

  • 2021-05-18
  • 2022-12-23
  • 2021-09-14
  • 2021-07-03
  • 2022-12-23
  • 2022-12-23
  • 2021-07-29
猜你喜欢
  • 2022-12-23
  • 2021-08-18
  • 2021-10-23
  • 2021-09-25
  • 2022-12-23
相关资源
相似解决方案