Skip to main content
This article describes how to determine which MySQL version is installed on a server.

Determining the MySQL version

There are several ways to determine the MySQL version installed on your server. Use whichever of the following methods you prefer.

Method #1: Use cPanel

To determine the MySQL version using cPanel, follow these steps:
  1. Log in to cPanel.
    📘 Note If you do not know how to log in to your cPanel account, please see this article.
  2. In the right sidebar, under General Information, click Server Information:
  3. On the Server Information page, locate the MySQL Version row:
    cPanel - Server Information - MySQL version

Method #2: Use phpMyAdmin

To determine the MySQL version using phpMyAdmin, follow these steps:
  1. Log in to phpMyAdmin.
    👍 Tip If you are using cPanel, you can log in to cPanel, and then in the Databases section of the cPanel home screen, click the phpMyAdmin icon:
    cPanel - phpMyAdmin icon
  2. The phpMyAdmin page appears. In the Database server section appears the MySQL version:
    phpMyAdmin - MySQL version information

Method #3: Use the command line

To determine the MySQL version from the command line, follow these steps:
  1. Log in to your account using SSH.
  2. At the command prompt, type the following command:
  3. To view more detailed MySQL version information, log in to MySQL using the mysql program, and then type the following query:
    This shows detailed version information for MySQL, the database engine, the SSL library, and more: