百度到的方法老是报错
后面百度错误得知
原来是mysql数据库下已经没有password这个字段了,password字段改成了authentication_string
update mysql.user set authentication_string=PASSWORD('') where User='root';
别忘了最后的分号
百度到的方法老是报错
后面百度错误得知
原来是mysql数据库下已经没有password这个字段了,password字段改成了authentication_string
update mysql.user set authentication_string=PASSWORD('') where User='root';
别忘了最后的分号