怎么通过mysql语句更改下面的密码?

怎么通过mysql语句更改下面的密码?

img

1、知道密码加密情况
如果你知道密码加密规则,那么先要拿到加密后的值,再执行更新操作
比如:假如你的uid是主键唯一值,sql更新语句如下
update typecho_users set password='你拿到加密后的密码字符串' where uid=1 and name='admin'

2、不知道密码加密情况
如果你不知道密码加密规则,那么更新密码为123456,估计你登录时也解密无效

update表名称 set 列名称 = 新值 where 列名称 = 某值


update typecho_users set password = 'XXX' where uid = 1;