Technology Sharing

Install MySQL 8.0.23 on Ubuntu 22.04 LTS (online installation)

2024-07-08

한어Русский языкEnglishFrançaisIndonesianSanskrit日本語DeutschPortuguêsΕλληνικάespañolItalianoSuomalainenLatina

Table of contents

Install MySQL online

Step 1: Update package lists

Step 2: Install MySQL Server

Step 3: Start MySQL Service

Step 4: Check MySQL Status

Step 5: Change password and permissions


Install MySQL online

Step 1: Update package lists

Before doing any software installation, make sure your system's package lists are up to date. Open a terminal and run the following command:

sudo apt update

Step 2: Install MySQL Server

After updating the package list, we can check the available MySQL installation packages here:

# View available installation packages
sudo apt search mysql-server