Install MySQL server

Here I list some info for installing MySQL server
Version: GA 5.5.30 Community Server

MySQL provides couple ways in installing the server system.

  • Windows
  • Linux generic binary package
  • Linux RPM
  • OS X

  1. Download following modules
    http://dev.mysql.com/downloads/mysql/5.5.html

    • MySQL Server
    • Client Utility(optional)
    • Development Library(optional)
  2. Here I install Linux RPM packages
    http://dev.mysql.com/doc/refman/5.5/en/linux-installation-rpm.html

    In Linux terminal, login as root

        rpm -i MySQL-server-5.5.30-1.el6.x86_64.rpm
        

    If you need to install the two optional RPM packages, issue the following commands.

        rpm -i MySQL-client-5.5.30-1.el6.x86_64.rpm
        rpm -i MySQL-devel-5.5.30-1.el6.x86_64.rpm
        
  3. The final step is to set the password of the root user.
    To do so, start the server, then issue the following command

        /usr/bin/mysql_secure_installation
        

oliver

Leave a Reply

Your email address will not be published. Required fields are marked *


*