时间:2021-07-01 10:21:17 帮助过:3人阅读
清理:
清除yum里所有mysql依赖包
如果不清楚干净,后续安装会出现依赖问题。
rpm -qa|grep mysql
yum remove mysql-libs
安装:
rpm -ivh mysql-community-common-5.7.22-1.el7.x86_64.rpm
rpm -ivh mysql-community-libs-5.7.22-1.el7.x86_64.rpm
rpm -ivh mysql-community-client-5.7.22-1.el7.x86_64.rpm
rpm -ivh mysql-community-server-5.7.22-1.el7.x86_64.rpm
启动服务:
systemctl start mysqld.service
初始化:
mysql_secure_installation
登录:
mysql -uroot -p
linux redhat 7 安装 mysql5.5
标签:unity 依赖包 start hat 启动 com community secure unit