Mysql8.0修改密码 Mysql8.0使用authentication_string存储密码 且password()已不能再使用 可以使用 ALTER USER `root`@`localhost` IDENTIFIED WITH caching_sha2_password BY '123456'; FLUSH PRIVILEGES 来更改root密码