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

How to Install Latest MySQL Server/Client on Debian Squeeze 6 Easy Guide

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

Install the Latest MySQL on Debian Squeeze 6 32/64-bit




The Tutorial shows you How to Get Always Freshly Installed the Latest MySQL 5.7.X on Debian Squeeze 6 GNOME/KDE/Lxde/Xfce i386/amd64.

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 Debian 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.

Install the Latest MySQL on Debian Squeeze 6 - Featured
  1. Download Latest MySQL Server for Debian

    Here Latest MySQL .deb 32/64-bit
    Link to Download the Latest MySQL Release for Debian Like Systems
  2. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Install the Latest MySQL on Debian Squeeze 6 - Open Terminal

    In case first see: Terminal QuickStart Guide.

  3. Check if MySQL is already Installed
    With:

    Copy
    which mysql

    If MySQL is Already Installed then it’s Suitable to Keep the Distro Release!

  4. Installing Latest MySQL .deb.

    Copy
    su 

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

    Copy
    dpkg -i /[path/2]/mysql*debian*.deb
  5. 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
  6. Setting the User PATH.

    Copy
    su [myUser]
    Copy
    cd  
    Copy
    nano .bashrc

    Append:

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

    Ctrl+X to Save & Exit from nano :)

    Load New PATH:

    Copy
    bash
  7. Strongly Recommended MySQL Server Secure SetUp

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

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