我使用Windows上的MySQL命令行以root身份登录。它随Microsoft Web Platform Installer一起安装。版本是
Server version: 5.1.72-community MySQL Community Server (GPL)
我无法使用此声明创建新用户
create user 'someuser'@'localhost' indentified by password 'somepassword';
或
create user 'someuser'@'localhost' indentified by 'somepassword';
我收到此错误
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 'inden
tified by 'somepassword'' at line 1
答案 0 :(得分:2)
有一个拼写错误:indentified
应为identified