找了好久,都是一群字数怪,直接简单说就行了,还这里那里看着就烦,还不如自己翻书,
书上看到的,我试了,可以
命令为:
updata mysql.user set authentication_string=password(‘newpassword’) where
user=‘root’ and host=‘localhost’;
注意:newpassword是新密码,要记住,

找了好久,都是一群字数怪,直接简单说就行了,还这里那里看着就烦,还不如自己翻书,
书上看到的,我试了,可以
命令为:
updata mysql.user set authentication_string=password(‘newpassword’) where
user=‘root’ and host=‘localhost’;
注意:newpassword是新密码,要记住,