MySQL改密码

必须先修改my.cnf 添加 skip-grant-tables   然后  执行  update mysql.user set authentication_string=password('123456') where user='root',最后重启MySQL.O了

posted @ 2018-12-10 16:45  Oracle-fans  阅读(155)  评论(0编辑  收藏  举报