我已复制粘贴 alter user "root"@"localhost" identified by "NEW PASSWORD";
进入mysql>
。消息是:
Query OK, 0 rows affected (0,00 sec)
但是如果我输入完全相同的命令(测试了几次!),则消息是:
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 'indentified by "NEW PASSWORD"' at line 1
为什么?
最佳答案
请仔细查看服务器返回的错误;您输入的是inidentified,而不是identified!
关于mysql - 复制粘贴与输入 "alter user "root“@"localhost"标识为...”,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45444665/