Install MySQL 5.6.21 on Centos 7

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
AXISHKAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

arnoldCommented:
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 .....
AXISHKAuthor 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
arnoldCommented:
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
PHP

From novice to tech pro — start learning today.