授权root所有权限 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
或者 update user set host = '%' where user = 'root';
忘记数据库密码临时免密登录 mysqld --user=root --skip-grant-tables &
授权root所有权限 GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';
或者 update user set host = '%' where user = 'root';
忘记数据库密码临时免密登录 mysqld --user=root --skip-grant-tables &
562

被折叠的 条评论
为什么被折叠?