摘要: 编辑mysql配置文件 vim /etc/my.cnf 在其中添加skip-grant-tables 保存 重启mysql服务 # systemctl restart mysqld 使用无密码命令登录mysql数据库 #mysql 使用下面语句修改root密码 mysql> update mysql 阅读全文
posted @ 2020-06-24 09:40 手可摘星辰/* 阅读(266) 评论(0) 推荐(0) 编辑