mysql8.0重置密码
1. 使用 caching_sha2_password 插件修改用户密码,并且用插件生成。ALTER USER 'user'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'password';2、修改 /etc/mysql/my.cnf[mysqld]default_authentication_plugin= mysql_native_password3、修改密码ALTER