当前位置:   article > 正文

linux下mysql的四种安装方式_mysql80-community-release-el9-1.noarch.rpm

mysql80-community-release-el9-1.noarch.rpm

仓库安装

[root@localhost ~]# rpm -ivh  https://repo.mysql.com//mysql80-community-release-el9-1.noarch.rpm
[root@localhost ~]# dnf install mysql-server -y
  • 1
  • 2

在这里插入图片描述
在这里插入图片描述

[root@localhost ~]# rpm -qa | grep mysql
mysql80-community-release-el9-1.noarch
mysql-community-common-8.0.32-1.el9.x86_64
mysql-community-client-plugins-8.0.32-1.el9.x86_64
mysql-community-libs-8.0.32-1.el9.x86_64
mysql-community-client-8.0.32-1.el9.x86_64
mysql-community-icu-data-files-8.0.32-1.el9.x86_64
mysql-community-server-8.0.32-1.el9.x86_64
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8

在这里插入图片描述

[root@localhost ~]# systemctl start mysqld
[root@localhost ~]# systemctl status mysqld
  • 1
  • 2

在这里插入图片描述

[root@localhost ~]# grep 'temporary password' /var/log/mysqld.log
  • 1

在这里插入图片描述

[root@localhost ~]# mysql -uroot -p
  • 1

在这里插入图片描述


                
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/笔触狂放9/article/detail/664428
推荐阅读
相关标签
  

闽ICP备14008679号