Page 1 of 1

After this command, wait for the end of downloading updates

Posted: Sat Apr 05, 2025 5:34 am
by Mitu100@
Installing MySQL on Linux
An example will be shown on Ubuntu 20.04.1 which i created here

In order to install this DBMS without problems, it is initially necessary to update the system. To update the system, use the following command:

Sudo apt-get update


update

As shown in the example above, the update was downloaded and installed.

Next, we will download the MySQL data package itself, the following command is used for this:

Sudo apt-get install mysql-server

install

During installation, you may b2b email list be prompted to download additional files, I recommend doing this by typing Y and pressing enter.

Customization
After installing the MySQL server, you should set a password for the administrator. This can be done using a number of commands.

Sudo mysql_secure_installation

secure

After entering the command, you will be prompted to install a plugin to improve server security.

valid

Validate Password - Offers you to choose the use of passwords of various levels. There are three levels in total

The first 0 is a weak password where the number of characters must be greater than or equal to 8.
The second 1 is an average password where there must be at least 8 characters, including numbers, letters, special characters.
The third 2-strong password of 8 characters must include numbers, letters, special characters and uppercase and lowercase letters.
Enter 2 and press enter, and then enter the desired password.