Any RHL/Centos5 people around? Problems trying to install mysql via yum

Discussion in 'OT Technology' started by MP, Mar 10, 2010.

  1. MP

    MP New Member

    Joined:
    Sep 10, 2002
    Messages:
    34,377
    Likes Received:
    0
    Location:
    Silicon Valley
    2.6.18-8.1.8.el5

    first...
    Code:
    # yum install mysql
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Nothing to do
    
    so I assume that the mysql client is already installed and I try this...
    Code:
    # yum install mysql-server
    Loading "installonlyn" plugin
    Setting up Install Process
    Setting up repositories
    Reading repository metadata in from local files
    Parsing package install arguments
    Nothing to do
    

    Code:
    # yum list 'mysql*'
    Loading "installonlyn" plugin
    Setting up repositories
    Reading repository metadata in from local files
    
    # yum info mysql
    Loading "installonlyn" plugin
    Setting up repositories
    Reading repository metadata in from local files
    

    I'm not sure where to go from here...any help would be great. I am pretty new to yum. I managed to get apache, php, and a few other things installed with it, but mysql has not been so lucky.
     
  2. crontab

    crontab (uid = 0)

    Joined:
    Nov 14, 2000
    Messages:
    23,441
    Likes Received:
    12
    hmm, what happens if you do

    yum list | grep mysql

    how about check to see what's installed:

    rpm -qa | grep mysql

    if the yum list doesn't list anything, you may not be pointing to the right channel, although i can't believe that mysql isn't in the default base or latest channel.

    what os/flavor are you actually using?
     
  3. MP

    MP New Member

    Joined:
    Sep 10, 2002
    Messages:
    34,377
    Likes Received:
    0
    Location:
    Silicon Valley
    I figured it out. my Centos-Base (repo) file had a line that said enabled=0 under the centos plus. I was not the original person who setup this server so I am still finding odd little things.


    edit: thank you though. I was getting pretty frustrated at this problem :)
     
    Last edited: Mar 10, 2010
  4. ge0

    ge0 New Member

    Joined:
    Oct 31, 2005
    Messages:
    8,398
    Likes Received:
    0
    Location:
    JERSEY
    nice
     

Share This Page