我在 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
最佳答案
有一个拼写错误:已识别
,应该是已识别
关于MySql无法创建用户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27032185/