首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >MySql无法创建用户

MySql无法创建用户
EN

Stack Overflow用户
提问于 2014-11-20 05:08:20
回答 1查看 93关注 0票数 0

我使用windows上的MySQL命令行以root身份登录。这是与Microsoft平台安装程序一起安装的。版本是

代码语言:javascript
复制
Server version: 5.1.72-community MySQL Community Server (GPL)

我不能用这个语句创建一个新用户

代码语言:javascript
复制
create user 'someuser'@'localhost' indentified by password 'somepassword';

代码语言:javascript
复制
create user 'someuser'@'localhost' indentified by 'somepassword';

我知道这个错误

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-11-20 05:10:13

有一个错误:indentified,应该是identified

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/27032185

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档