How To Install MySQL on Ubuntu

MySQL is a free to download multi-platform database management system.

Assuming you require a Debian distribution, please follow these simple steps for download and installation.

To get started, open your terminal with:


Then, run the following commands one after the other:

sudo apt-get update

Type your password, there will not be any visual feedback. Hit Enter.

sudo apt-get upgrade

sudo apt-get install mysql-server

At this point, your installation will begin. You shall be prompted to enter a password. Choose a strong one which you'll remember.

The default host is

Should you have any comments to share, please post them in the section provided below!