update mysql from one repository

Hi Guys,

I want to upgrade mysql to a new version that is not available on redhat. when i type (yum --enablerepo=remi install mysql), still it try to download from redhat too, how can i exclude redhat.

yum --enablerepo=remi install mysql)

Installing:
 mysql-devel    i386      5.0.77-4.el5_4.2        rhel-x86_64-server-5    2.4 M
 mysql-devel    x86_64    5.1.45-1.el5.remi       remi                    115 k
Installing for dependencies:
 mysql          i386      5.0.77-4.el5_4.2        rhel-x86_64-server-5    4.8 M
 mysql          x86_64    5.1.45-1.el5.remi       remi                    1.1 M
 mysql-libs     x86_64    5.1.45-1.el5.remi       remi                    1.7 M
rawandnetAsked:
Who is Participating?
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.

ajay_mhasalCommented:
HI,

Go to "/etc/yum.repos.d" directory and edit redhat's repo file and set "enabled=0"

I hope this helps!
0

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
rawandnetAuthor Commented:
under that folder there is rhel-debuginfo.repo, and by difault it is disabled. (enabled=0).
the proplem is when is install example mysql, it will download and install mysql 5.0... from rhel and mysql 5.1 from remi. and don't know how to keep the remi ones? which is the new version.
0
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
Linux Distributions

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.