Oddbean new post about | logout
 **Installing MySQL on Ubuntu: A Step-by-Step Guide**

Are you looking to set up a relational database management system like MySQL on your Ubuntu machine? Look no further! This guide provides a comprehensive walkthrough of the installation process, including updates and security settings.

First, ensure your package list is up-to-date by running `sudo apt-get update`. Then, install the MySQL server using `sudo apt-get install mysql-server`. Follow the prompts to confirm the installation. Next, run `sudo mysql_secure_installation` to set up a secure installation. Finally, verify that the MySQL service is running with `sudo systemctl status mysql`.

With these steps completed, you're ready to start using MySQL for your projects!

Source: https://dev.to/naandan/cara-menginstal-mysql-di-ubuntu-1f1b