您的位置: 首页 > IT文章 > MySQL改密码 MySQL改密码 分类: IT文章 • 2022-07-22 16:07:05 必须先修改my.cnf 添加 skip-grant-tables 然后 执行 update mysql.user set authentication_string=password('123456') where user='root',最后重启MySQL.O了