关于mysql数据库user表没有password字段
解决
这个是因为mysql的版本问题,是mysql 5.7版本出现的,具体是mysql 5.7.x 开始变化的我不知道
新的字段变更为authentication_string
修改密码的方式还是和原来一致的
use mysql;
update user set authentication_string=password("python") where user="root";
本文来自博客园,作者:Hello_wshuo,转载请注明原文链接:https://www.cnblogs.com/Hellowshuo/p/15622184.html

浙公网安备 33010602011771号