链接到数据库输入 ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
这里的123456是我设置的密码