I have installed MySQL 5.1.73 community edition through RPM. It was working fine.
I uninstalled this version by using
yum remove mysql-server command.
I wanted to upgrade MySQL from 5.1.73 to 5.6.19 community edition.
Then I installed it by
sudo rpm -i /u000/MySQL-server-5.6.19-1.rhel5.x86_64.rpm command.
After installation, I was able to start mysql by issuing
sudo /etc/init.d/mysql start.
After this, I tried to install
MySQL-shared-compat-5.6.19-1.rhel5.x86_64.rpm using RPM command. But, it is giving conflict message with mysql 5.1.73 -
install of MySQL-server-5.6.19-1.el6.x86_64 conflicts with file from package mysql-libs-5.1.73-4.el6.x86_64.
It is same for
MySQL-client-5.6.19-1.rhel5.x86_64.rpm. Again, I got the similar conflict message.
After this, I tried to connect MySQL by issuing below command:
$ mysql -uroot -p3pkvFtaWM_PTCwJ8 -bash: mysql: command not found
- How can I fix this issue and run the MySQL 5.6 as normally?
- Do I need to clean MySQL from server?