mysql中怎么查看当前在哪个库中?
答案:1 悬赏:70 手机版
解决时间 2021-02-09 22:00
- 提问者网友:雪舞兮
- 2021-02-09 01:02
mysql中怎么查看当前在哪个库中?
最佳答案
- 五星知识达人网友:举杯邀酒敬孤独
- 2021-02-09 02:33
status 命令可以。
mysql> status;
--------------
mysql Ver 14.12 Distrib 5.0.20a, for Win32 (ia32)
Connection id: 1
Current database: test
Current user: root@localhost
SSL: Not in use
Using delimiter: ;
Server version: 5.0.20a-nt
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
TCP port: 3306
Uptime: 44 sec
mysql> status;
--------------
mysql Ver 14.12 Distrib 5.0.20a, for Win32 (ia32)
Connection id: 1
Current database: test
Current user: root@localhost
SSL: Not in use
Using delimiter: ;
Server version: 5.0.20a-nt
Protocol version: 10
Connection: localhost via TCP/IP
Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1
TCP port: 3306
Uptime: 44 sec
我要举报
如以上问答信息为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯