当前位置:   article > 正文

MySQL8 CentOS8.3安装配置图解_centos 安装mysql 8.3

centos 安装mysql 8.3

1、rpm -qa |grep mariadb

2、yum -y remove mariadb*

/usr/bin/perl is needed by mysql-community-server-8.0.21-1.el8.x86_64

yum install perl.x86_64

mysqld --initialize

ll /var/lib/mysql

systemctl start mysqld

systemctl enable mysqld

cat /var/log/mysqld.log |grep "temporary password"

alter user 'root'@'localhost' identified by 'rootROOT1234@';

select user,host from user;

update user set host = '%' where user = 'root';

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

闽ICP备14008679号