Database Management System

Setup MYSQL in ubntu 20.04

Step1 — Run the following command to install mysql:(one time setup)

sudo apt install mysql-server

Step 2 — Configuring MySQL (one time setup)

sudo mysql_secure_installation

Step 3 — Creating a Dedicated MySQL User and Granting Privileges

sudo mysql
//if different credentials required
mysql -u root -p

Step — Restarting the service [Occasionally required to reflect the changes]

sudo service mysql restart

[Tip- Cred show be Strong- AD group]

Step- exit from console

exit

Published by

Unknown's avatar

sevanand yadav

software engineer working as web developer having specialization in spring MVC with mysql,hibernate

Leave a comment