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?
rm -r
command. But, still some library files there... – ursitesion Jul 9 '14 at 18:40/var/spool/up2date
directory like/var/spool/up2date/mysql51-build-1-9.el5.x86_64.hdr
? – ursitesion Jul 9 '14 at 18:50./usr/lib/python2.4/site-packages/sos/plugins/mysql.pyc ./usr/lib/python2.4/site-packages/sos/plugins/mysql.pyo ./usr/lib/python2.4/site-packages/sos/plugins/mysql.py
– ursitesion Jul 9 '14 at 18:52