ERROR 1054 (42S22): Unknown column '‘root‘' in 'where clause'

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/gwz_6903/article/details/88673128

安装完mysql修改密码时,出现如下错误:

ERROR 1054 (42S22): Unknown column ‘‘root‘’ in ‘where clause’

原因之一:修改命令出错:

原:

update mysql.user set authentication_string=password(‘123456789’) where user=’root’;

现:

update user set password=password("123456") where user="root";

若提示

猜你喜欢

转载自blog.csdn.net/gwz_6903/article/details/88673128