当前第2页 返回上一页
查看数据库列表:
1 2 3 4 5 6 7 8 9 10 11 12 | mysql> show databases;
+
| Database |
+
| information_schema |
| mysql |
| performance_schema |
| test |
+
rows in set (0.00 sec)
mysql>
|
查看用户状态:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | mysql> use mysql;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
mysql> select host, user from mysql. user ;
+
| host | user |
+
| 127.0.0.1 | root |
| ::1 | root |
| localhost | |
| localhost | root |
| server.gao | |
| server.gao | root |
+
rows in set (0.00 sec)
mysql>
|
以上就是mysql怎么查看用户名?的详细内容,更多文章请关注木庄网络博客!
返回前面的内容
相关阅读 >>
mysql数据库编码如何设置以及查看
在mysql中mul是什么意思
20分钟mysql基础入门
数据库对象包括哪六个?
mysql中的常用工具实例汇总(推荐)
在同一台机器上运行多个 mysql 服务
mysql高级学习之索引的优劣势及规则使用
mysql系列之十五 mysql常用配置和性能压力测试
mysql之复杂查询的实现
浅析mysql-server 与 mysql-client 的区别
更多相关阅读请进入《mysql》频道 >>
机械工业出版社
本书主要讲述了数据模型、基于对象的数据库和XML、数据存储和查询、事务管理、体系结构等方面的内容。
转载请注明出处:木庄网络博客 » mysql怎么查看用户名?