摘要: wget -i -c https://repo.mysql.com//mysql80-community-release-el7-1.noarch.rpm yum -y install mysql80-community-release-el7-1.noarch.rpm ##如果不加--nogpgc 阅读全文
posted @ 2022-10-15 23:52 Mrzxs 阅读(52) 评论(0) 推荐(0)
摘要: 1、先关闭mysql服务 systemctl stop mysql 2、修改配置文件,添加免密码登陆 vim /etc/my.cnf在[mysqld]下面添加一行skip-grant-tables增加:skip-grant-tables 3、重新启动mysql服务,并从新连接到数据库,记得不用输入密 阅读全文
posted @ 2022-10-15 16:41 Mrzxs 阅读(504) 评论(0) 推荐(0)