How to check the MySQL version on the server hosting my account?

There are several ways to check the version of the MySQL service on your account.

The first one includes accessing your account over SSH. When you log in, you can use the following command:

where USERNAME is your cPanel username and PASSWORD is your cPanel password. Using the command you will connect to the MySQL service and see its welcome message, which includes the version of the service, for example:

Another way of finding the MySQL version is via a PHP script. You have to create a new file on your account, for example mysql.php, and inside it place the following:

Again replace USERNAME with your cPanel username and PASSWORD with your cPanel password. Then open the file in your browser and you will see the MySQL version running on the current server.

You can create the file via SSH, FTP or from your cPanel -> File Manager tool.

cPanel is easy to work with when you have the right host to support you. If you need a reliable partner to help you manage your website with cPanel, check out our cPanel hosting services!