kali 修改MariaDB密码

use mysql;
update user set authentication_string=PASSWORD("") where User='root';
update user set plugin="mysql_native_password" where User='root';  # THIS LINE

flush privileges;
quit;

 

posted @ 2019-10-09 15:23  破冰Lab-Cookun  阅读(498)  评论(0)    收藏  举报