MySQL Forums
Forum List  »  Install & Repo

yum repo can't find mysql-server
Posted by: Jake Wilson
Date: May 01, 2014 10:07AM

On my CentOS 6.4 server, I am running MySQL 5.5.33 that I installed from the remi repository (http://rpms.famillecollet.com/).

I decided to upgrade MySQL to 5.6.x via MySQL's own yum repositories. After installing the repositories per these instructions:

http://dev.mysql.com/doc/mysql-repo-excerpt/5.6/en/linux-installation-yum-repo.html

My enabled repolist looks like this:

# yum repolist enabled
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
* base: mirrors.xmission.com
* epel: mirror.steadfast.net
* extras: mirror.thelinuxfix.com
* remi: remi.check-update.co.uk
* updates: mirrors.xmission.com
repo id repo name status
Webmin Webmin Distribution Neutral 175
base CentOS-6 - Base 6,367
epel Extra Packages for Enterprise Linux 6 - x86_64 10,737
extras CentOS-6 - Extras 14
mysql-connectors-community MySQL Connectors Community 6
mysql-tools-community MySQL Tools Community 6
mysql56-community MySQL 5.6 Community Server 46
remi Les RPM de remi pour Enterprise Linux 6 - x86_64 1,485
updates CentOS-6 - Updates 864
repolist: 19,700

So the MySQL 5.6 repository is installed and enabled. Now if I try to check the info of the installed MySQL to see what the latest version is available, I get this:

# yum list mysql-server
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
* base: mirrors.xmission.com
* epel: mirror.steadfast.net
* extras: mirror.thelinuxfix.com
* remi: remi.check-update.co.uk
* updates: mirrors.xmission.com
Installed Packages
mysql-server.x86_64 5.5.33-1.el6.remi @remi
Available Packages
mysql-server.x86_64 5.5.37-1.el6.remi remi

So it's looking in the remi repository for the latest version which is not 5.6. So I disable all other repositories except for mysql56-community and I try this:

# yum list mysql-server --disablerepo=\* --enablerepo=mysql56-community
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Installed Packages
mysql-server.x86_64 5.5.33-1.el6.remi @remi

It finds my current version, but not other versions available. Why isn't it finding a version available on the mysql56-community repo?

However, if I instead search for mysql-community-server:

# yum list mysql-community-server --disablerepo=\* --enablerepo=mysql56-community
Loaded plugins: fastestmirror, refresh-packagekit, security
Loading mirror speeds from cached hostfile
Available Packages
mysql-community-server.x86_64 5.6.17-4.el6 mysql56-community

Then it finds the correct one from the mysql56-community repository.

So my question, why isn't it finding the latest 5.6 version of mysql-server ? What do I do here? I don't know exactly how yum works, but I'm assuming that updating mysql-server will update all it's subpackages as well. And if I just install mysql-community-server, will there be a conflict with mysql-server?

I'm a bit lost here on what to do or how to get MySQL updated to 5.6.x

Options: ReplyQuote


Subject
Written By
Posted
yum repo can't find mysql-server
May 01, 2014 10:07AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.