解决
这个是因为mysql的版本问题,是mysql 5.7版本出现的,具体是mysql 5.7.x 开始变化的我不知道
新的字段变更为authentication_string
修改密码的方式还是和原来一致的
use mysql;
update user set authentication_string=password("python") where user="root";
2023-02-12编程教程下载本文mysql,password,User,字段,数据库
这个是因为mysql的版本问题,是mysql 5.7版本出现的,具体是mysql 5.7.x 开始变化的我不知道
新的字段变更为authentication_string
修改密码的方式还是和原来一致的
use mysql;
update user set authentication_string=password("python") where user="root";
《关于mysql数据库user表没有password字段.doc》
下载本文的Word格式文档,以方便收藏与打印。