MySQL忘记root密码的处理方法

基础材料:mysql MySQL5.7  CentOS7.4sql 操做步骤:数据库 [root@localhost]# systemctl stop mysqld编辑器 [root@localhost]# sed -i  '/\ [mysqld\ ]/a\skip-grant-tables'  /etc/my.cnf ui 编辑my.cnf文件,在[mysqld]段落内添加skip-grant-
相关文章
相关标签/搜索