上次修改过root密码之后,刚启动,执行sql就报错了。

MacOs执行SQL出错(mysql)

错误是:

Reset MySQL root password using ALTER USER statement after install on Mac

解决办法是:

https://stackoverflow.com/questions/33467337/reset-mysql-root-password-using-alter-user-statement-after-install-on-mac
----
UPDATE mysql.user SET Password=PASSWORD('your_new_password')
       WHERE User='root';

MacOs执行SQL出错(mysql)

 

相关文章:

  • 2021-06-03
  • 2021-11-06
  • 2021-06-18
  • 2021-10-15
  • 2021-11-28
  • 2022-12-23
  • 2021-11-01
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2022-02-12
  • 2022-01-03
  • 2022-12-23
  • 2021-06-27
相关资源
相似解决方案