开发者社区 问答 正文

DMS数据库怎么新建用户


mysql>exit
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 'exit' at line 1
mysql>mysql -u
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 'mysql -u' at line 1
mysql>show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| qdm174930103_db    |
+--------------------+
共返回 2 行记录,花费 178.20 ms.
mysql>exit
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 'exit' at line 1
mysql>grant all on *.* to test1@"localhost" identified by "abc";
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 ' to test1@"localhost" identified by "abc"' at line 1

展开
收起
michael_ 2015-09-01 13:23:25 5387 分享 版权
2 条回答
写回答
取消 提交回答
  • 码农|Coder| Pythonista
    您好
    DMS登录用户权限不足,需要在控制台添加账号
    2015-09-05 10:10:08
    赞同 展开评论
  • 来学习的。。。
    2015-09-02 02:02:38
    赞同 展开评论