Skillfully using the Mysql prompt prompt the method of managing the database clearly _mysql
Source: Internet
Author: User
Mysql>prompt \u@\h (\d) \r:\m:\s>
\u: Connecting Users
\h: Connecting the host
\d: Connecting to the database
\r:\m:\s: Show Current time
Mysql>prompt \u@\h (\d) \r:\m:\s>
Root@localhost (MySQL) 08:55:21> status
--------------
MySQL Ver 14.14 distrib 5.1.33, for Win32 (IA32)
Connection Id:2
Current Database:mysql
Current User:root@localhost
Ssl:not in use
Using delimiter:;
Server Version:5.1.33-community-log MySQL Community Server (GPL)
Protocol version:10
Connection:localhost via TCP/IP
Server characterset:gb2312
Db characterset:gb2312
Client characterset:latin1
Conn. characterset:latin1
TCP port:3306
Uptime:6 min 6 sec
Threads:2 questions:867 Slow queries:0 opens:129 Flush tables:1 Open t
Ables:9 Queries per second avg:2.368
--------------
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service