字段换了,换成authentication_string这个字段了,同样,你只要把加密的密码update进来也可以登录的,我已经测试过了
mysql.user.password在5.7.6之后存到mysql.user.authentication_string了.
这是官方的说明:
The authentication_string column in the mysql.user table now stores credential information for all accounts. The Password column, previously used to store password hash values for accounts authenticated with the mysql_native_password and mysql_old_password plugins, is removed.
参考:
http://dev.mysql.com/doc/relnotes/mysql/5.7/en/news-5-7-6.html
1、确定你的mysql
是否能正常工作
登录数据库
cmd--“命令提示字符”窗口录入,
录入cd
c:\mysql\bin
并按下回车键,将目录切换为
cd
c:\mysql\bin
再键入命令mysql
-uroot
-p,回车后提示你输密码,如果刚安装好mysql,超级用户root是没有密码的。