1.查看用户信息
select host,user,plugin,authentication_string from mysql.user
2.修改密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456'
1.查看用户信息
select host,user,plugin,authentication_string from mysql.user
2.修改密码
ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456'