操作步骤 首先连入ssh,执行 mysqld --skip-grant-tables新建ssh窗口,执行mysql,就可以免密连入mysql了执行sqluse user;update user set authentication_string=password('新密码') where user='root' and Host='localhost';完成 Last modification:August 26, 2020 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 0 如果觉得我的文章对你有用,请随意赞赏