MySql无法创建用户

标签 mysql web-platform-installer

我在 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/

相关文章:

mysql - 将两个 mysql 查询与两个不同的 order by 语句组合起来

mysql - 在应用 ON DELETE 约束时如何删除子表中的条目

appfabric - 安装 Windows Server AppFabric

python - 如何从 Web 平台安装程序中卸载 python?

php - 无法连接到 GoDaddy 上的 MySQL 数据库

mysql - 批量更新 WordPress post slug 并通过 SQL 查询重定向到新的 slug

hadoop - HDInsight安装后未创建HadoopDashboard

windows-7 - 在 Windows 7 -32 位操作系统上安装 MVC3 时出错

php - PHP 7.4 的 Web 平台安装程序 : Windows Cache Extension 2. 0 安装失败

mysql - 从oracle表中获取最后5分钟的数据