MySql 5.6 Installation

MySql 5.6 Installation
Facebooktwitterredditpinterestlinkedinmail

MySql 5.6 Installation

Install Latest MySql in dedicated servers or in cloud servers like Amazon ec2, Digital Ocean, Linode for UBUNTU operating system. Magento 2 need MySql 5.6.

apt-add-repository ppa:ondrej/mysql-5.6
apt-get -y update
apt-get -y install mysql-server

If you get error :
Sub-process /usr/bin/dpkg returned an error code (1)

Increase the memory limit of swap

Create a 4G swap file:

sudo fallocate -l 4G /swapfile

Change its permission to only root could access and change:

sudo chmod 600 /swapfile

Make it swap:

sudo mkswap /swapfile

Activate:

sudo swapon /swapfile
Facebooktwitterredditpinterestlinkedinmail