如何檢查 MySQL Server 的狀態?


藉助 “mysqladmin” 和 “status” 選項程式,我們可以檢查 MySQL 伺服器的狀態。它可以在命令列中按如下方式使用 −

C:\mysql\bin>mysqladmin -u root status
Uptime: 3865 Threads: 1 Questions: 50 Slow queries: 0 Opens: 113
Flush tables: 1 Open tables: 102 Queries per second avg: 0.012

更新於: 2020 年 2 月 10 日

918 次瀏覽

開啟你的 職業生涯

透過完成課程來獲得認證

開始吧
廣告
© . All rights reserved.