MySql on Ubuntu

Install mysql server 5.6 on Ubuntu 14.04 LTS

$ sudo apt-get update
$ sudo apt-get install mysql-server-5.6
$ mysql -u root -p

 

Restart the mysql service
$ sudo service mysql restart

Start mysql Service
$ sudo service mysql start

Stop mysql service
$ sudo service mysql stop

Status of mysql service
$ sudo service mysql status

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s