0

我在 Windows 上使用 MySQL 命令行以 root 身份登录。这是使用 Microsoft Web 平台安装程序安装的。版本是

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
4

1 回答 1

2

有一个错字:indentified应该是identified

于 2014-11-20T05:10:13.273 回答