How to Install Latest MySQL Server/Client on CentOS 6.X Linux Easy Guide

March 11, 2014 | By the+gnu+linux+evangelist.

Install the Latest MySQL 5.7+ on CentOS 6 32/64-bit




The Tutorial shows you How to Get Always Freshly Installed the Latest MySQL 5.7.X on CentOS 6.x Desktop/Server Linux i686/x8664.

Take Note: for a Production Environment it is Suitable to Use Instead, the Distro Packages!

To Get Constantly Installed the Latest MySQL Server/Client Release on CentOS you will Need to Download from Oracle the Latest MySQL Community Edition Package.

An Important Step to Take into Account After Installation is to Secure the MySQL Server Installation by the Proper Tool.

Install the Latest MySQL on CentOS 6.x - Featured
  1. Download Latest MySQL Bundle for Red Hat Linux

    Latest MySQL .rpm.tar 32/64-bit
  2. Open a Shell session
    (Press “Enter” to Execute Commands)

    Install the Latest MySQL on CentOS 6.x - Open Terminal
  3. Extract MySQL Rpm.

    sudo su

    If Got “User is Not in Sudoers file” then see: How to Enable sudo

    cd /[path/2]/mysql*.rpm-bundle.tar
    tar xvf mysql*.rpm-bundle.tar
  4. Installing MySQL Rpm’s.

    sudo yum install mysql*.rpm
  5. Strongly Recommended MySQL Server Secure SetUp

    MySQL Secure Server SetUp
  6. Starting the MySQL Server.

    systemctl start mysqld
  7. Testing MySQL root Access.

    exit
    mysql -uroot -p

    Troubleshooting Access Denied for User root

    Resetting MySQL root Password

QuickChic Theme • Powered by WordPress