Install MySQL 5.6.21 on Centos 7

AXISHK
AXISHK used Ask the Experts™
on
My current version mysql5.7.2 on my Centos 7 can't support some old php coding. Where I can download the old version ? How to install it on my Centos ?

Thx
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Distinguished Expert 2017

Commented:
Cents is a redhat based system their process is geared towards enterprise and stability over tone such that they major, minor versions of the services, applications available on them is maintained.
Micro and nano updates are applied for sevurity, bug fixes.

To answer your issue, you would need to download the RPM from dev.mysql.com and any dependency to get the version not available on the centos 7.
Debian, Ubuntu are more of a more current version, but you have to copiously look through the changelogs of updates to make sure your deployed application would not be adversely impacted by the update.
I.e. Your app uses functions, tools that the newer version deprecated, the tools are no longer available, Claud or changed how they work......

Leapt to the wrong conclusion, my advice would be fix the issue as it is likely vulnerable .....
And you either do it know potentially with some minor/moderate changes versus delaying it till the next time a couple of years down the line where the disparity be ones a large, major effort and .....

Author

Commented:
The legacy website is written by a company long long time ago and it is difficult to make changes. I still need MySQL 5.6 installed. I'm sucked in the  following, any idea ?

[root@server html]# rpm -ivh mysql-community-release-el6-5.noarch.rpm
error: Failed dependencies:
        mysql-community-release conflicts with (installed) mysql57-community-release-el7-10.noarch
Distinguished Expert 2017
Commented:
Are you sure the issue is with MySQL server and not the php code and the interaction ....
I suspect you are looking at the wrong thing as the issue.

Virtualizing using containers might be sone thing to consider.

It is difficult to provide a remedy without a determination of a cause.

You could get an rpm as pointed out from MySQL.com ... Uninstall and install the older version.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial