0% found this document useful (0 votes)
15 views1 page

Installing MySQL 8 On Ubuntu18.04

This document provides a step-by-step guide for installing MySQL 8 on Ubuntu 18.04. It includes downloading the MySQL APT repository configuration file, installing it, adding the GPG key, updating package information, installing the MySQL server, securing the installation, and verifying the installation status. Each step includes the necessary commands to execute in the terminal.

Uploaded by

roygaur1777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

Installing MySQL 8 On Ubuntu18.04

This document provides a step-by-step guide for installing MySQL 8 on Ubuntu 18.04. It includes downloading the MySQL APT repository configuration file, installing it, adding the GPG key, updating package information, installing the MySQL server, securing the installation, and verifying the installation status. Each step includes the necessary commands to execute in the terminal.

Uploaded by

roygaur1777
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Installing MySQL 8 on Ubuntu18.

04
1. First, download the MySQL APT repository configuration file:

wget [Link]

2. Install the MySQL APT Repository Configuration File:

sudo dpkg -i mysql-apt-config_0.8.17-1_all.deb

During the installation, a prompt will appear. Select MySQL Server & Cluster (Currently selected: mysql-8.0)
and then click OK.

3. Add the MySQL GPG Key:

sudo apt-key adv --keyserver [Link] --recv-keys 467B942D3A79BD29

4. Update Package Information:

sudo apt update

5. Install MySQL Server:

sudo apt install mysql-server

6. Secure Your Installation (Optional but recommended):

Run the security script to set up a root password and secure your installation:

sudo mysql_secure_installation

7. Verify the Installation:

You can check the MySQL service status by running:

sudo systemctl status mysql

You might also like