Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

No package available when installing packages on CentOS 6.6 ?

20142014 Member

No package available when installing packages on CentOS 6.6 ?

root@picture2 [~]# yum install mysql-server mysql
Loaded plugins: fastestmirror
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: centos.mirrors.ovh.net
* extras: mirror0.babylon.network
* updates: centos.mirrors.ovh.net
No package mysql-server available.
No package mysql available.
Error: Nothing to do
root@picture2 [~]# No package mysql-server available.

How i do it?

Comments

  • TrafficTraffic Member
    edited May 2015

     

    Thanked by 12014
  • yum update ?

    Thanked by 12014
  • 20142014 Member

    let me try it,Thanks

  • BruceBruce Member

    I'm using Maria DB mostly

    https://mariadb.com/kb/en/mariadb/yum/

  • yum clean all

    yum install mysql-server

  • Check '/etc/yum.conf'. Maybe you see something like 'exclude=mysql*'

  • CloudconeCloudcone Member, Patron Provider

    try
    sudo yum install epel-release

  • Quadcone said: try sudo yum install epel-release

    MySQL isn't part of EPEL, its in the base distribution

  • SadySady Member

    @Quadcone said:
    try
    sudo yum install epel-release

    +1,
    Do this: yum -y install epel-release; yum clean all; yum -y install mysql-server mysql

  • 20142014 Member

    @MarkTurner said:
    yum clean all

    yum install mysql-server

    root@picture2 [~]# yum clean all
    Loaded plugins: fastestmirror
    Cleaning repos: base epel extras updates
    Cleaning up Everything
    Cleaning up list of fastest mirrors
    root@picture2 [~]# yum install mysql-server
    Loaded plugins: fastestmirror
    Setting up Install Process
    Determining fastest mirrors
    epel/metalink | 25 kB 00:00
    * base: mirror1.babylon.network
    * epel: mirror1.babylon.network
    * extras: centos.mirrors.ovh.net
    * updates: centos.mirrors.ovh.net
    base | 3.7 kB 00:00
    base/primary_db | 4.6 MB 00:00
    epel | 4.4 kB 00:00
    epel/primary_db | 6.5 MB 00:00
    extras | 3.4 kB 00:00
    extras/primary_db | 30 kB 00:00
    updates | 3.4 kB 00:00
    updates/primary_db | 3.3 MB 00:00
    No package mysql-server available.
    Error: Nothing to do

  • 20142014 Member

    @Sady said:
    Do this: yum -y install epel-release; yum clean all; yum -y install mysql-server mysql

    No package mysql-server available.
    No package mysql available.
    Error: Nothing to do

  • Inform your 'dir -l /etc/yum.repos.d; cat /etc/yum.conf'.

  • leapswitchleapswitch Patron Provider, Veteran

    You can just install mysql yum repository and get the latest mysql version directly from Oracle.

  • 20142014 Member

    @leapswitch said:
    You can just install mysql yum repository and get the latest mysql version directly from Oracle.

    Thanks friend.. How i do that?

  • leapswitchleapswitch Patron Provider, Veteran

    @2014 said:

    Just search Oracle mysql yum repository, you will get the steps. Can't paste links from phone.

  • If yum doesn't work, use the RPM from:
    http://dev.mysql.com/downloads/mysql/ or build it from the source.

Sign In or Register to comment.