1.mysql -uroot -p 123456 (用户root,密码123465)
2.use mysql;
3.ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '你的密码';
4.FLUSH PRIVILEGES;