---
title: "Checking Your MySQL Version"
source: "https://docs.nexcess.com/hosting/server-administration/database-management/mariadb-mysql/checking-your-mysql-version/"
description: "If you are using MySQL databases, you might need to occasionally check the version of MySQL that is installed on your server. It's easy to check your MySQL vers…"
vertical: "Hosting"
date: "2024-03-04"
last_modified: "2026-07-27"
---

# Checking Your MySQL Version

If you are using MySQL databases, you might need to occasionally check the version of MySQL that is installed on your server.

It’s easy to check your MySQL version using:

- [cPanel](#cPanel)
- [the command line](#CLI)

## Using cPanel to Check MySQL Versions

If you aren’t familiar with using the command line interface, use cPanel to check your MySQL version.

1. Log into your cPanel account for the database’s domain. If you aren’t sure how to access cPanel, read [Getting Started with cPanel](https://docs.nexcess.com/hosting/control-panel/whm/cpanel/getting-started-with-cpanel/) first.
2. Scroll down to the **Databases** section on the cPanel home page and click on **phpMyAdmin**. This will load your graphical MySQL interface.  
    ![phpmyadmin link highlighted](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_ujNpfM.png)
3. On the main page of phpMyAdmin, there will be a **Database server** section on the right hand side of your screen. The MySQL version is listed as the **Server version**.  
    ![seeing your MySQL version](https://docs.nexcess.com/wp-content/uploads/2026/06/help.liquidweb.com_dx5Iot.gif)

## Using Command Line to Check MySQL Versions

If you’re comfortable with the command line, it only takes one command to check your MySQL version.

1. Using the terminal program of your choice, log into your server as root. If you haven’t logged into your server using the command line before, read [Logging into Your Server via Secure Shell (SSH)](https://docs.nexcess.com/hosting/server-administration/linux/logging-into-your-server-via-secure-shell-ssh/) first.
2. In the command prompt, type  
    ```
    mysql -V
    ```
    
      
    This will print the MySQL version on the screen. It should look something like this:
    
      
    ```
    mysql Ver 15.1 Distrib 5.5.41-MariaDB, for Linux (x86_64) using readline 5.1
    ```
