Mysql on Centos 5.5

Discussion in 'Server Operation' started by newbie14, Sep 30, 2010.

  1. newbie14

    newbie14 New Member

    Dear All,
    I have just installed centos 5.5. First I would like to know is mysql by defaults install on centos 5.5? If not how to install mysql on centos 5.5?
     
  2. carlosinfl

    carlosinfl New Member

    It's not installed by default (you can install MySQL during the install process if you choose) but the best way is to 1st find out if you have it installed.

    I recommend you open up 'terminal' or whatever you use for a command prompt.

    Make sure you're root and run the following commands:

    Code:
    rpm -qa | grep mysql
    If that doesn't report that 'mysql' is installed then you just need to run one simple command to install it:

    Code:
    yum install mysql
    Thats it.

    I honestly and personally recommend you use PostgreSQL over MySQL. Thats just my personal opinion.

    Post back if you need more help.
     

Share This Page