修改mysql密码出现报错:ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corres

解决方法1:

SET PASSWORD = '123456'

解决方法2:

ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';

命令行展现:

报错:
在这里插入图片描述
解决:
在这里插入图片描述

特别感谢:https://blog.csdn.net/qq939782569/article/details/87344602

posted @ 2020-10-01 19:55  粥店接济  阅读(6935)  评论(0编辑  收藏  举报