How to Install Latest MySQL Server/Client on Mageia 4 Linux Easy Guide

April 4, 2014 | By the+gnu+linux+evangelist.

Install the Latest MySQL 5.7+ on Mageia 4 32/64-bit




The Tutorial shows you How to Get Always Freshly Installed the Latest MySQL 5.7.X on Mageia 4 Desktop KDE/Gnome Linux i686/x8664.

Take Note: to Successfully Install the Latest MySQL Server on Mageia 4 you will Need to Remove the Existing MariaDB Installation!.

The Latest MySQL Server/Client Installation Process Shold Work also on the Others Mageia 1/2/3/4 Releases.

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 Mageia 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 Mageia 4 - Featured
  1. Download Latest MySQL Bundle for Red Hat Linux

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

    Install the Latest MySQL on Mageia 4 - Open Terminal
  3. Extract MySQL Rpm.

    cd /[path/2]/mysql*.rpm-bundle.tar
    tar xvf mysql*.rpm-bundle.tar
  4. Removing MariaDB Package.

    Important: Carefully Copy All the Removed Orphaned Packages List to Re-Install them Later!.

    su 

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

    urpme --auto-orphans mariadb-common-core
  5. Then Re-Install the Orphaned Packages.

    Remove from the List All the Entries Containing “mariadb”

    Example:

    urpmi amarok-utils-2.8.0-2.mga4.x8664 
    ffmpeg-2.0.2-2.mga4.x8664 
    ifuse-1.1.2-3.mga4.x8664 
    iwlwifi-agn-ucode-20140119-1.mga4.nonfree.noarch 
    kde4-audiocd-4.11.4-1.mga4.x8664 
    lib64aio1-0.3.109-5.mga4.x8664 
    lib64amarok-sqlcollection1-2.8.0-2.mga4.x8664 
    lib64amarok-transcoding1-2.8.0-2.mga4.x8664 
    lib64amarokcore1-2.8.0-2.mga4.x8664 
    lib64amaroklib1-2.8.0-2.mga4.x8664 
    lib64amarokocsclient4-2.8.0-2.mga4.x8664 
    lib64amarokpud1-2.8.0-2.mga4.x8664 
    lib64amarokshared1-2.8.0-2.mga4.x8664 
    lib64audiocdplugins4-4.11.4-1.mga4.x8664 
    lib64kcompactdisc4-4.11.4-1.mga4.x8664 
    lib64lastfm1-1.0.8-2.mga4.x8664 
    lib64loudmouth-1_0-1.4.3-12.mga4.x8664 
    lib64mygpo-qt1-1.0.7-2.mga4.x8664 
    lib64ofa0-0.9.3-17.mga4.x8664 
    lib64tag-extras1-1.0.1-8.mga4.x8664 
    qtscriptbindings-0.2.0-4.mga4.x8664 
    ralink-firmware-20140119-1.mga4.nonfree.noarch 
    rtlwifi-firmware-20140119-1.mga4.nonfree.noarch
  6. Installing MySQL Rpm’s.

    urpmi ./mysql*.rpm
  7. Strongly Recommended MySQL Server Secure SetUp

    MySQL Secure Server SetUp
  8. Starting the MySQL Server.

    mysqld_safe --user=mysql &
  9. Testing MySQL root Access.

    exit
    mysql -uroot -p

    Troubleshooting Access Denied for User root

    Resetting MySQL root Password

QuickChic Theme • Powered by WordPress