mysqlauthentication_string更改密码不成功的问题
最近新买了电脑,再重新安装mysql过程中,发现user字段没有了password字段,update root密码失败,发现最新版本更新为authentication_string,然后update user set authentication_string=‘123456’ where user=‘root’;
免登录之后发现authentication_string已变为123456,然⽽去除免密重启之后⼀直1045,后来发现没有⽤到mysql的加密函数,实际应该使⽤update user set authentication_string=password(‘123456’) where user=‘root’;调⽤mysql的password函数。mysql下载odbc失败

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。