MySQL改密码

mac2022-06-30  117

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

转载于:https://www.cnblogs.com/iyoume2008/p/10097345.html

最新回复(0)