What is the problem with installing mysql in linux?

recently installed mysql on linux and searched the Internet for some installation blogs, which are difficult to understand.
blog address is as follows:
https://blog.csdn.net/qq_1623...

Question1: what do the following two commands mean respectively? Is mysql installed twice?

rpm -ivh mysql57-community-release-el7-11.noarch.rpm
yum install mysql-community-server

question 2: please recommend linux installation software books, videos, blog materials, feel that installing software on linux is much more complicated than under windows.

Apr.18,2022

this is the installation source library rpm
the following is the installation service
it is recommended to use lnmp or find a scaffolding


1. Your two commands are two different installation methods, rpm mode is not commonly used
2. The common centos is to use yum or to compile and install 3
3. As for what you said is much more complicated than Windows, I guess your Windows is an one-click integration package, and the corresponding linux also has similar features, such as lnmp or oneinstack


rpm this step is to create a * mysql.repo,yum install on the system that will only look for

/etc/yum.repo.d
The available application sources configured in all the .repo files under the

folder. Install the application if it is found in the source. It is not difficult to understand the function of these two sentences


these are two different installation methods under linux. You can install mysql with either of them. If both commands run, you can install


repeatedly.

I tried my best to compress the picture, so I won't translate it. As for you who want to learn the details of installation, I personally think it's convenient to learn docker. It's easy to do it with one command.

@ SegmentFault this picture is so distorted that it seriously reduces the desire for operation, and you can't see the original image even if you click on the details. Just a thumbnail, < _

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35ccf-2b80c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35ccf-2b80c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?