二进制安装MySQL 5.7.17 重置root密码
拷贝support-files/my-default.cnf到/etc/my.cnfvim 编辑/etc/my.cnf,尾部追加一行 skip-grant-tables 重启MySQL服务 进入MySQL,重置密码 mysql -u root #进入MySQLupdate user set authentication_string=PASSWORD('newpass') where
原创
2017-01-10 12:57:04 ·
2759 阅读 ·
0 评论