Step 1: Check the current MySQL version.
You can login to MySQL database to find the information there. Then, you can check the library name with the following command:
Then, you can remove the MySQL 5.5 installation with the following command:
You can install MySQL 5.6 with the yum command shown as follows: