msql,

How to Install MySQL on Ubuntu 23.04

May 16, 2023 · 1 min read · Post a comment

On Ubuntu 23.04, MySQL installation can be done using the APT package repository. Let’s jump on the installation part.

Prerequisites

  • sudo privileges

Install MySQL on Ubuntu 23.04

Step 1. Update the package index.

sudo apt update

Step 2. Install MySQL.

sudo apt install mysql-server

Step 3. Verify the installation.

mysql --version

Step 4. Start the MySQL service.

sudo systemctl start mysql.service

Conclusion

Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.