How to Install Latest MySQL Server/Client on Linux Mint 16 Petra Easy Guide

March 9, 2014 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Install the Latest MySQL 5.7+ on Linux Mint 16 Petra 32/64-bit




The Tutorial shows you How to Get Always Freshly Installed the Latest MySQL 5.7.X on Linux Mint 16 Petra Mate/Cinnamon/KDE/Xfce i386/amd64.

Sometimes You should Easily getting installed the Latest MySQL Version Simply by the Apt Ubuntu Repos but that’s Not Ever True.

So to Get Constantly Installed the Latest MySQL Server/Client Release on Linux Mint You will Need to Download from Oracle the Latest MySQL Community Edition Debian Package.

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

How to Install MySQL Workbench on Fedora GNU/Linux Distro
  1. Download Latest MySQL Server for Debian/Ubuntu Linux

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

    Install the Latest MySQL on Linux Mint 16 Petra - Open Terminal
  3. Installing GDebi Package Installer.

    sudo su

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

    sudo apt-get install gdebi
  4. Installing MySQL .deb.

    gdebi /[path/2]/mysql*debian*.deb
  5. Post-Installation Configuration.

    groupadd mysql
    useradd -r -g mysql mysql
    chown -R mysql:mysql /opt/mysql
    /opt/mysql/server*/scripts/mysql_install_db --user=mysql
    chown -R root /opt/mysql
    chown -R mysql /opt/mysql/server*/data
  6. Setting the User PATH.

    su [myUser]
    cd  
    nano .bashrc

    Append:

    export PATH=$PATH:/opt/mysql/server-[Version]/bin

    Ctrl+X to Save & Exit from nano :)

    Load New PATH:

    bash
  7. Strongly Recommended MySQL Server Secure SetUp

    MySQL Secure Server SetUp
  8. Starting the MySQL Server.

    sudo su -c "mysqld_safe --user=mysql &"

Tags: , , , , , , , , , , , ,