问题:
mysql-8.0.27-winx64命令行修改密码时使用语句
set password for root@localhost = password("1234567");
提示如下错误:
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use near
'password("1234567")' at line 1
解决办法:
SET PASSWORD = '1234567'
最后
以上就是闪闪钢铁侠最近收集整理的关于mysql-8.0.27-winx64命令行修改密码时提示ERROR 1064 (42000)错误的全部内容,更多相关mysql-8.0.27-winx64命令行修改密码时提示ERROR内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复