Manual / Installation / Database config / Installing MySQL / CentOS, Fedora, Red Hat

This page guides you through installing MySQL using Fedora's package manager 'yum'. It is suitable for any Linux flavour which uses this package manager such as Red Hat Enterprise Linux, Fedora or CentOS.

  1. At the terminal prompt, type yum install mysql-server

    Show server response

  2. Type service mysqld start to start the MySQL service

    Show server response

  3. Type /usr/bin/mysql_secure_installation
    When asked for the root password, press Enter. Then answer 'yes' to updating the root password. Please enter a strong password. This will be used to protect Conseal Server's data on users and protected devices.
    Answer 'yes' to all remaining questions: remove anonymous users, disable remote root login, remove test database and reload privilege tables.

    Show server response

  4. Type chkconfig -levels 235 mysqld on to ensure that MySQL start at boot.
  5. MySQL Server is now installed.


If you get the following error message:

[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
  mysql-5.0.77-4.el5_5.4.i386: failure: RPMS/mysql-5.0.77-4.el5_5.4.i386.rpm from updates: [Errno 256] No more mirrors to try.

Then enter the command:

yum clean all

...and retry.

If you have any other difficulties installing MySQL, please contact us.


Frequently Asked Questions


Using Conseal Server

Conseal Server Concepts