摘要: 1、下载 下载文件为:mysql-5.7.28-1.el7.x86_64.rpm-bundle.tar (解压版) 2、卸载原来安装的mysql #检查 rpm -qa | grep mariadb rpm -qa | grep mysql ​ #卸载 remove后为上面命令查询到的内容,全文件名 阅读全文
posted @ 2020-12-15 16:36 JXiao1994 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 第一步 service mysqld start --skip-grant-tables 启动mysql 开启跳过密码 第二步 update mysql.user set authentication_string=password('123456') where user='root'; 修改密码 阅读全文
posted @ 2020-12-15 16:18 JXiao1994 阅读(308) 评论(0) 推荐(0) 编辑