您当前的位置: 首页 >  txwtech

ERROR 1054 (42S22): Unknown column 'password' in 'field list'

txwtech 发布时间:2018-06-15 22:59:09 ,浏览量:5




mysql> use mysql;
Database changed
mysql> update user set password=password('123456') where user='root';
ERROR 1054 (42S22): Unknown column 'password' in 'field list'
mysql>


改成这样:update user set authentication_string=password('123456') where user='root';
Query OK, 1 row affected, 1 warning (0.01 sec)
Rows matched: 1  Changed: 1  Warnings: 1

关注
打赏
查看更多评论

txwtech

暂无认证

  • 5浏览

    0关注

    696博文

    0收益

  • 0浏览

    0点赞

    0打赏

    0留言

私信
关注
热门博文
立即登录/注册

微信扫码登录