首頁  >  文章  >  資料庫  >  我如何檢查MySQL伺服器的版本?

我如何檢查MySQL伺服器的版本?

王林
王林轉載
2023-09-13 21:57:06692瀏覽

我如何檢查MySQL伺服器的版本?

借助 ‘mysqladmin’程序,我們將能夠了解我們的MySQL伺服器的版本。要取得版本,我們需要在命令列中輸入以下命令:

C:\mysql\bin>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伺服器的版本?的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:tutorialspoint.com。如有侵權,請聯絡admin@php.cn刪除