mysql管理用户的时候,如果使用
update user set password=password(‘新密码’)where user=‘用户名’;发现报1054,password 这一列不存在的时候,那么
因为密码存放在authentication_string中,所以要先把列名改成password
alert table user change authentication_string password varchar(100);
mysql管理用户的时候,如果使用
update user set password=password(‘新密码’)where user=‘用户名’;发现报1054,password 这一列不存在的时候,那么
因为密码存放在authentication_string中,所以要先把列名改成password
alert table user change authentication_string password varchar(100);