Install MySQL on Linux

Installing MySQL on Linux is really simple and usually involves just a single command. We will show you how you can install MySQL on Ubuntu, a popular Linux distribution.

Open the shell and type sudo apt-get install mysql-server:

install mysql ubuntu

You will be promted for confirmation. Press Y to continue.

During the installation process you will be prompted to enter and repeat the password for the root user:

mysql linux installation root

And that’s it! You have installed MySQL on your Linux machine.

Geek University 2022