How to install mysql on Ubuntu

How to install mysql on Ubuntu

  • 04 Sep, 2021
  • Technology

How to install mysql on Ubuntu 20.04

1. Open your server command prompt
2. Enter command sudo -s
to change user to root user (i have already performed this step)
3. sudo apt-get update -y
4. sudo apt-get upgrade -y
5. sudo apt install mysql-server
6. To check if installation is successful, run below command
mysql --version