mysql8登录提示Access denied for user 'root'@'localhost'

输入以下命令:update mysql.user set authentication_string=PASSWORD('123'), plugin='mysql_native_password' where user='root';

输入以下命令:flush privileges;

posted @ 2022-09-18 01:05  然然1907  阅读(157)  评论(0编辑  收藏  举报