در این پست خواهید خواند:
1. از طریق SSH به عنوان 'root' وارد سرور خود شوید. یا از ترمینال موجود در WHM استفاده نمائید.
2. دستور زیر را اجرا نمائید:
mysqladmin version |
3. خروجی را مشاهده نمائید.
# mysqladmin version
mysqladmin Ver 8.42 Distrib 5.7.31, for Linux on x86_64
Copyright (c) 2000, 2020, 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.31
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 14 days 23 hours 42 min 56 sec
Threads: 1 Questions: 23338 Slow queries: 0 Opens: 12744 Flush tables: 1 Open tables: 2000 Queries per second avg: 0.018
# mysqladmin version
mysqladmin Ver 9.1 Distrib 10.3.24-MariaDB, for Linux on x86_64
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Server version 10.3.24-MariaDB
Protocol version 10
Connection Localhost via UNIX socket
UNIX socket /var/lib/mysql/mysql.sock
Uptime: 7 sec
Threads: 7 Questions: 4 Slow queries: 0 Opens: 17 Flush tables: 1 Open tables: 11 Queries per seco