在使用set password = password("0000000000");更改密码时出现的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("0000000000")' at line 1报错
最开始以为是输入不严谨,直到输入了近10次之后我后知后觉的意识到问题好像没有这么简单
后来在同学的帮助下尝试修改my.cnf文件,结果又遇到了新的问题 You must reset your password using ALTER USER statement before executing this statement. 和
Your password does not satisfy the current policy requirements
痛苦之余只能再次搜索解决方法,最后终于让我找到了!!!mysql密码设置需要 凑够8位,而且需要满足数字+字母+下划线
天知道我在这里卡了多久!
参考——
https://blog.csdn.net/m0_46503302/article/details/129519966
https://baijiahao.baidu.com/s?id=1757919914268448427&wfr=spider&for=pc
https://www.cnblogs.com/liuzijin/p/17683252.html
标签:syntax,密码,https,mysql,password,安装,your From: https://www.cnblogs.com/yansans/p/17721018.html