ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your
设置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 u
·
设置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条内容
所有评论(0)