How to Use the MySQL prompt to clearly manage the database

Source: Internet
Author: User

Mysql> prompt \ U @ \ H (\ D) \ r: \ m: \ s>

\ U: connected to the user

\ H: connect to the host

\ D: connect to the database

\ R: \ m: \ s: display the 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
--------------

Root @ localhost (MySQL) 08:55:29>

Related Article

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.