MySQL in RHEL shows different versions I was given a RHEL 6.9 server with MySQL installed and I just wanted to check the MySQL version running on it. 

When I tried the rpm -qa | grep mysql or mysql --version or SHOW VARIABLES LIKE "%version%"; commands they show the version as 5.6.36 

However when I run yum info mysql-server it shows a different version (5.1.73) than the other commands. 

What could be the reason for this.
The command rpm -qa shows what is installed. If it does not give what you look for then it is not installed with yum.