// 1- update our repos database $ sudo apt update // 2- then install mysql-server which will actually install mysql 8 $ sudo apt install mysql-server // 3- Once the install is completed, run: $ sudo mysql_secure_installation // 4- This will prompt you about many "agree/deny" steps // and one of them will be setting up a password for your root password // Note: I did follow most of the security recommendations and accepted most of the questions // 5- Last step: Try connecting using $ sudo mysql
Installing MySQL 8 on Ubuntu Server
MySQL is an open-source relational database management system. Its name is a combination of “My”, the name of co-founder Michael Widenius’s daughter, and “SQL”, the abbreviation for Structured Query Language.
Owned by Oracle, MySQL is popular and widely used DBMS and probably the reason why you came across this blog post.
Getting started is not that hard as you’ll see:
That’s all. MySQL is up and running.
Here’s a few other guides that might help you with your MySQL journey.