Ubuntu Mysql 8 报Access denied for user 'root'@'localhost' (using password:YES)解决方法

步骤一:应为/etc/mysql/mysql.conf.d/mysql.conf

更新命令为:alter user 'root'@'localhost' identified with mysql_native_password by '123456'; 

posted @ 2021-01-19 12:54  Maybach  阅读(399)  评论(0编辑  收藏  举报