mysql中的user表中没有password列,而是authentication_string;修改密码时候如下:update user set authentication_string=password('123456') where user='root';flush privileges;