install mysql56 on ubuntu14.04
go to www.mysql.com and download mysql server file
enter the direction of the download file
extract mysql tar file
tar -xvf mysql-server_5.6.26-1ubuntu14.04_i386.deb-bundle.tar
- install dependencies
sudo dpkg -i mysql-common_5.6.26-1ubuntu14.04_i386.deb
sudo apt-get install libaio1
- install mysql server
sudo dpkg -i mysql-community-server_5.6.26-1ubuntu14.04_i386.deb
- install mysql client otherwise you can not use mysql command line in the terminal
sudo dpkg -i mysql-community-client_5.6.26-1ubuntu14.04_i386.deb
stop & start the service of mysql
- start:
sudo /etc/init.d/mysql start
- stop:
sudo /etc/init.d/mysql stop
or:
- start:
sudo service mysql start
- stop :
sudo service mysql stop
done