$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install Latest MySQL on Ubuntu 14.04

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

Installing

  1. 2. Downloading MySQL Server

    Download Latest MySQL Server for Ubuntu

    Here Latest MySQL .deb 32/64-bit
    Link to Download the Latest MySQL Release for Debian Like Systems
  2. 3. Installing MySQL Server

    Then to Install MySQL Server
    First, access the Download location by default with:

    Copy
    cd ~/Downloads

    To Check it’s there List the contents with:

    Copy
    ls . | grep mysql

    The grep Command refine the output List showing only the Entries matching the Keyword.
    But if you are in Trouble to Find the Location on Terminal then See: How to Access Downloads Folder from Browser.

    Copy
    sudo apt install ./mysql*debian*.deb

    Post-Installation Configuration.

    Copy
    groupadd mysql
    Copy
    useradd -r -g mysql mysql
    Copy
    chown -R mysql:mysql /opt/mysql
    Copy
    /opt/mysql/server*/scripts/mysql_install_db --user=mysql
    Copy
    chown -R root /opt/mysql
    Copy
    chown -R mysql /opt/mysql/server*/data
  3. 4. Setting Up PATH

    So then again to Set the User PATH
    Run in succession the following Commands:

    Copy
    su `whoami`
    Copy
    cd  
    Copy
    nano .bashrc

    Append:

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

    Ctrl+x to Save & Exit from nano :)

    Load the New PATH with:

    Copy
    bash
  4. 5. Launching MySQL Server

    In case to Start the MySQL Server
    Run:

    Copy
    sudo su -c "mysqld_safe --user=mysql &"
  5. 6. MySQL Server Secure SetUp

    Strongly Recommended MySQL Server Secure SetUp

    Here MySQL Secure Server SetUp
    Link to Guide on Post-Installation Secure SetUp of MySQL on Linux/Unix

Contents