首页 > 大数据 > 数据挖掘 > 入坑MariaDB系列之问题解决
// 切换到root用户, 无需密码进入Mysql
update mysql.user set plugin='mysql_native_password' where user='root';
update mysql.user set password=password("您的密码") where user='root';
FLUSH PRIVILEGES;
[1] https://blog.csdn.net/yin138/article/details/80293533
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31559690/viewspace-2217815/ ,如需转载,请注明出处,否则将追究法律责任。