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.
-
Download Latest MySQL Bundle for Red Hat Linux
Latest MySQL .rpm.tar 32/64-bit
-
Open Terminal Window
(Press “Enter” to Execute Commands)
-
Extract MySQL Rpm.
cd /[path/2]/mysql*.rpm-bundle.tar
tar xvf mysql*.rpm-bundle.tar
-
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
-
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
-
Installing MySQL Rpm’s.
urpmi ./mysql*.rpm
-
Strongly Recommended MySQL Server Secure SetUp
MySQL Secure Server SetUp
-
Starting the MySQL Server.
mysqld_safe --user=mysql &
-
Testing MySQL root Access.
exit
mysql -uroot -p
Troubleshooting Access Denied for User root
Resetting MySQL root Password