We assume that you have the log in details for root user and if you don’t have access to root user then you can here are also alternate methods to check it.

Method 1 :

Log in as root user and then enter the command :


# MySQL --version
This entered command shows the following result :


MySQL Ver 14.14 Distrib 5.5.55, for Linux (x86_64) using readline 5.1
Now you can check the current version of MySQL version you are working with. If you get the above output then you are successful.

Method 2 :

Now it’s time to learn another command which you have to enter into MySQL client tools. For that you have to enter the following command :

 
# MySQL
After that you will get the following output which shows the current version of MySQL.

 

Method 3 :

If you have installed PhpMyAdmin through which you can manage your MySQL database then you can check the MySQL server details in PhpMyAdmin tool GUI.

NOTE: 
You can check the details in the right panel of the screen under Database server details.




War diese Antwort hilfreich? 0 Benutzer fanden dies hilfreich (0 Stimmen)