C:\Users\Administrator>mysql -uroot -p
Enter password: *****Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 6Server version: 5.6.23-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial)Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respectiveowners.Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
mysql> status
--------------mysql Ver 14.14 Distrib 5.6.23, for Win64 (x86_64)Connection id: 6
Current database:Current user: root@localhostSSL: Not in useUsing delimiter: ;Server version: 5.6.23-enterprise-commercial-advanced-log MySQL Enterprise Server - Advanced Edition (Commercial)Protocol version: 10Connection: localhost via TCP/IPServer characterset: utf8Db characterset: utf8Client characterset: gbkConn. characterset: gbkTCP port: 3306Uptime: 7 min 53 secThreads: 1 Questions: 21 Slow queries: 0 Opens: 70 Flush tables: 1 Open tables: 63 Queries per second avg: 0.044
--------------mysql> select version()
-> ;+-------------------------------------------+| version() |+-------------------------------------------+| 5.6.23-enterprise-commercial-advanced-log |+-------------------------------------------+1 row in set (0.00 sec)mysql> show global variables like 'port'
-> ;+---------------+-------+| Variable_name | Value |+---------------+-------+| port | 3306 |+---------------+-------+1 row in set (0.00 sec)mysql>