I have a Oracle Linux 5 server. I have to install MySQL 5.1 as well as MySQL 5.6. Is it possible to install both version of MySQL on the same machine? If yes, how can I achieve this?
Take the 2-minute tour
×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
The program that can accomplish this is called update-alternatives You should be able to do something like this (untested)
You then choose which version of mysql-server you want like so
The way this works is by creating a symbolic link from /usr/bin/mysql-server and pointing it to the new path. ( /usr/bin/mysql-5-1/bin/mysql-server) |
|||
|