---
title: "Discussion on \"Installing MySql on Ubuntu\" | Hashnode"
description: "Discussion on \"Installing MySql on Ubuntu\". for version 8.0.27\n\n\nFirst install my-sql database:\n  sudo apt install mysql-server\n  # start the utility prompt to set the root user password\n  sudo mysql_secure_installation utility\n\n\nAllow remote access\n  sudo ufw enable\n  sudo ufw allow mysql\n\n\nS..."
url: "https://hashnode.com/posts/installing-mysql-on-ubuntu/68f9e00d2319c899b6a09eee"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Installing MySql on Ubuntu](https://totoro.hashnode.dev/installing-mysql-on-ubuntu?utm_source=hashnode&utm_medium=feed)

for version 8.0.27 First install my-sql database: sudo apt install mysql-server # start the utility prompt to set the root user password sudo mysql\_secure\_installation utility Allow remote access sudo ufw enable sudo ufw allow mysql S...

Oct 23, 2025 · 2 min read · totoro.hashnode.dev  
Read the article

-   [#sql](https://hashnode.com/tag/sql)
-   [#mysql](https://hashnode.com/tag/mysql)
-   [#linux](https://hashnode.com/tag/linux)

## Written by

[Shivanshu Semwal](https://hashnode.com/@shivanshuSemwal)

@shivanshuSemwal · India

  
[View profile](https://hashnode.com/@shivanshuSemwal)

Software Developer. Interested in finding innovative solutions to problems.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
