By far MySQL is the most popular Relational database management system and knowing which MySQL version you are running can be important in some situations.
Here are different ways to check the version of the MySQL server installed on your WHM/ cPanel (or any Linux)
From cPanel “Server information”
Log into your cPanel account and on the right side of the cPanel click the “Server Information” link
![server information cpanel server information cpanel](https://i0.wp.com/i.imgur.com/wl9dBoN.png?w=736&ssl=1)
A new page will load where you can see a lot of details about your web hosting account, like Apache, PHP, MySQL, PERL, cPanel versions; server load, the status of the server services.
![mysql version on cpanel mysql version on cpanel](https://i0.wp.com/i.imgur.com/SuFqjtZ.png?w=736&ssl=1)
From The PHPMyAdmin Interface
![Different Ways to Check MySQL version in cPanel or Linux chrome rWjds1vOsT - Different Ways to Check MySQL version in cPanel or Linux](https://i0.wp.com/pcx3.com/wp-content/uploads/2021/06/chrome_rWjds1vOsT.png?resize=164%2C61&ssl=1)
In PHPMyAdmin on the right side, under the “Database server” section you will see the “Server version” which is the current MySQL or MariaDB version running on your server.
![mysql version in phpmyadmin mysql version in phpmyadmin](https://i0.wp.com/i.imgur.com/EUWUcOI.png?w=736&ssl=1)
From the command line
If you have SSH access to the server, here are several commands that can help to find the version of your MySQL.
mysqld -V
![mysql -v mysql -v](https://i0.wp.com/pcx3.com/wp-content/uploads/2021/06/WindowsTerminal_GrvxeS4ZgG.png?resize=621%2C28&ssl=1)
From the MySQL Client
mysql
![mysql client mysql client](https://i0.wp.com/pcx3.com/wp-content/uploads/2021/06/notepad_0PPxdaCa9B.png?resize=709%2C221&ssl=1)
SHOW VARIABLES LIKE Statement
You can also run the following command for more details, like protocol version and InnoDB version:
SHOW VARIABLES LIKE "%version%";
![mysql SHOW VARIABLES LIKE statement mysql SHOW VARIABLES LIKE statement](https://i0.wp.com/pcx3.com/wp-content/uploads/2021/06/notepad_T8indf1I6e.png?resize=536%2C241&ssl=1)
STATUS Command
status command displays the version as well as the uptime of the MySQL server and other useful information.
mysql> status
![mysql status command mysql status command](https://i0.wp.com/pcx3.com/wp-content/uploads/2021/06/notepad_23Z4fPgsFR.png?resize=680%2C412&ssl=1)