当前位置 : 主页 > 编程语言 > java >

【报错】ERROR 1064 (42000): You have an error in your SQL syntax

来源:互联网 收集:自由互联 发布时间:2022-06-23
设置mysql中的root账户密码出现1064错误代码 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 ‘(“123456”) where user=“

 

 

设置mysql中的root账户密码出现1064错误代码




 

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 ‘(“123456”) where user=“root”’ at line 1

在安装mysql的时候,设置root账户密码出现了上面的问题

解决方案

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

截图

【报错】ERROR 1064 (42000): You have an error in your SQL syntax_sql


上一篇:MySQL数据排序asc、desc
下一篇:没有了
网友评论