修改mysql的密码时遇到问题ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corre

  1. 先输入:flush privileges;
  2. 再输入:ALTER USER 'root'@'localhost' IDENTIFIED BY 'mysql';
    http://fxsen.oss-cn-chengdu.aliyuncs.com/QQ%E6%88%AA%E5%9B%BE20220804171126.png
  3. 再输入:flush privileges刷新;
posted @ 2022-08-04 17:17  fxsen  阅读(209)  评论(0编辑  收藏  举报