mysql root密码重置

it2022-05-08  9

1.先杀mysql进程 bin/safe_mysqld --skip-grant-tables & 2.use mysql >update user set password=password("new_pass") where user="root"; 在mysql表下执行sql语句 update user set password="" where user="root"; 3.>flush privileges;

转载于:https://www.cnblogs.com/networking/p/3702971.html


最新回复(0)