Installation of MySQL on Ubuntu 16.04 | Iserver Admin
24/7 Customer Support
16Jun 2017

0

2401

0

Installation of MySQL on Ubuntu 16.04

Let us Read for you.
Subscribe

Installation of Mysql on Ubuntu 16.04 
Step 1 : Update your package index

Run follwing command to update :

“ sudo apt-get update ”

Step 2 : Install the mysql-server package

We can install mysql server package by running following command :
“ sudo apt-get install mysql-server ”

Step 3 : Configuring MySQL

Also run the security script ;

Run following command :

” sudo mysql_secure_installation “


Step 4:Testing MySQL :
Need to check either mysql service is running or not .
You may start the service by running following command :
“ service MySQL start “

After that check the service status by running following command :
“ service MySQL status “

Now the basic setup of MySQL has been done on server.

Comments (0)