安装mysql的步骤

安装流程
[root@localhost z]# cd /mnt/share/share[root@localhost share]# ll[root@localhost share]# cp mysql157-community-release-el7-10.noarch.rmp /usr/localcp: cannot stat ‘mysql157-community-release-el7-10.noarch.rmp’: No such file or directory[root@localhost share]# cp mysql57-community-release-el7-10.noarch.rpm /usr/local[root@localhost share]# cd /usr/local[root@localhost local]# ll[root@localhost local]# yum install -y mysql57-community-release-el7-10.noarch.rpm[root@localhost local]# rpm -qa |grep telnet-*[root@localhost local]# yum install ftp-* -yLoaded plugins: fastestmirror, langpacksLoading mirror speeds from cached hostfilePackage ftp-0.17-67.el7.x86_64 already installed and latest versionNothing to do[root@localhost local]# yum install telnet-* -y[root@localhost local]# rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022[root@localhost local]# yum install -y mysql-community-server