开发者社区> 问答> 正文

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 5349 0
2 条回答
写回答
取消 提交回答
  • 码农|Coder| Pythonista
    您好
    DMS登录用户权限不足,需要在控制台添加账号
    2015-09-05 10:10:08
    赞同 展开评论 打赏
  • 来学习的。。。
    2015-09-02 02:02:38
    赞同 展开评论 打赏
问答排行榜
最热
最新

相关电子书

更多
2022 DTCC-阿里云一站式数据库上云最佳实践 立即下载
云时代的数据库技术趋势 立即下载
超大型金融机构国产数据库全面迁移成功实践 立即下载