借助 ‘mysqladmin’程序,我们将能够了解我们的MySQL服务器的版本。要获取版本,我们需要在命令行中输入以下命令:
C:mysqlbin>mysqladmin -u root version
mysqladmin Ver 8.42 Distrib 5.7.20, for Win64 on x86_64
Copyright (c) 2000, 2017, 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 respective owners.
Server version 5.7.20
Protocol version 10
Connection localhost via TCP/IP
TCP port 3306
Uptime: 12 min 54 sec
Threads: 1 Questions: 5 Slow queries: 0 Opens: 105 Flush tables: 1 Open tables: 98 Queries per second avg: 0.0060
登录后复制
以上就是我如何检查MySQL服务器的版本?的详细内容,更多请关注每日运维网(www.mryunwei.com)其它相关文章!