MySQL修改密码报错:ERROR 1064 (42000): You have an error in your SQL syntax;check the manual that correspon
程序员文章站
2024-03-16 23:18:34
...
问题描述:
修改密码报错: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(‘123’)’ at line 1
参考翻译:
错误1064(42000):您的SQL语法有错误; 查看与您的MySQL服务器版本相对应的手册以获取正确的语法,以在第1行的“ password(‘123’)”附近使用
解决办法:
ALTER USER 'root'@'localhost' IDENTIFIED BY '123456';
下一篇: jvm——字节码中的方法的执行分析
推荐阅读
-
MySQL修改密码报错:ERROR 1064 (42000): You have an error in your SQL syntax;check the manual that correspon
-
SQL报错,You have an error in your SQL syntax; check the manual that corresponds to
-
pymysql.err.ProgrammingError: (1064, “You have an error in your SQL syntax; check the manual that co
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
MySql-You have an error in your SQL syntax; check the manual that corresponds to your MySQL server v
-
(1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
-
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version