Methods of payment Abuse

Installing MySQL in Ubuntu 22.04 from the developer repository

17.01.2023, 15:18

In the last article we talked about how to install a DBMS called MySQL from the official repository, in this instruction we will give an algorithm of actions for installing the same solution from the developer's repository. Note that this task is a little more difficult to solve than the previous one, but you will need to allocate a little more time.

Installing the DBMS from the developer repository

To perform the installation, the first thing you need to do is to add this repository to the system. This is accomplished by downloading a deb package with the repository configuration from the official website:

You should be prepared for the site to offer registration, but you can opt out by clicking No thanks, just start my download:

How to perform the DBMS installation? Now we need to install the downloaded package. To do this, we use a simple command:

sudo dpkg -i ~/Downloads/mysql-apt-config

During the package setup you will need to answer a few questions from the installer. On the start screen, select Ok and press Enter.

On the next screen, you can customize the version of the component. At the moment, only the MySQL version is available, which means that you can leave all the settings unchanged. Find the desired item Ok (use the up/down buttons) and press Enter:

We would like to draw your attention that it is necessary to select Ok when you want to finalize the configuration. Otherwise you may get the impression that the program is malfunctioning.

Next, update the list of packages in the repositories:

sudo apt update

And install MySQL:

sudo apt install mysql-server mysql-client

The instruction is complete. We wish you a successful solution to the task at hand.